summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-28 14:36:07 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-28 14:36:07 +0000
commit2e9230c4b3dbd1c12c5ac8ba54648a352a77e750 (patch)
treeebe4b2d21f899ec959696fbf2678c4a65f08aa4d
parent7d4fa2f20b44b3b7995dbd1a3c0ce0f8f9ffee02 (diff)
* lib/gserver.rb: [DOC] Fix typo
s/FixNum/Fixnum/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/gserver.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gserver.rb b/lib/gserver.rb
index 48770289f8..4d566fcf2e 100644
--- a/lib/gserver.rb
+++ b/lib/gserver.rb
@@ -92,7 +92,7 @@ class GServer
# Stop the server running on the given port, bound to the given host
#
- # +port+:: port, as a FixNum, of the server to stop
+ # +port+:: port, as a Fixnum, of the server to stop
# +host+:: host on which to find the server to stop
def GServer.stop(port, host = DEFAULT_HOST)
@@servicesMutex.synchronize {
@@ -102,7 +102,7 @@ class GServer
# Check if a server is running on the given port and host
#
- # +port+:: port, as a FixNum, of the server to check
+ # +port+:: port, as a Fixnum, of the server to check
# +host+:: host on which to find the server to check
#
# Returns true if a server is running on that port and host.
@@ -140,11 +140,11 @@ class GServer
@tcpServerThread.join if @tcpServerThread
end
- # Port on which to listen, as a FixNum
+ # Port on which to listen, as a Fixnum
attr_reader :port
# Host on which to bind, as a String
attr_reader :host
- # Maximum number of connections to accept at at ime, as a FixNum
+ # Maximum number of connections to accept at at ime, as a Fixnum
attr_reader :maxConnections
# IO Device on which log messages should be written
attr_accessor :stdlog
@@ -212,7 +212,7 @@ class GServer
# Create a new server
#
- # +port+:: the port, as a FixNum, on which to listen.
+ # +port+:: the port, as a Fixnum, on which to listen.
# +host+:: the host to bind to
# +maxConnections+:: The maximum number of simultaneous connections to
# accept