[前][次][番号順一覧][スレッド一覧]

ruby-changes:33265

From: zzak <ko1@a...>
Date: Sun, 16 Mar 2014 05:52:54 +0900 (JST)
Subject: [ruby-changes:33265] zzak:r45344 (trunk): * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]

zzak	2014-03-16 05:52:48 +0900 (Sun, 16 Mar 2014)

  New Revision: 45344

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45344

  Log:
    * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]

  Modified files:
    trunk/ChangeLog
    trunk/lib/gserver.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45343)
+++ ChangeLog	(revision 45344)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar 16 05:51:55 2014  Zachary Scott  <e@z...>
+
+	* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
+
 Sat Mar 15 18:54:03 2014  Kazuki Tsujimoto  <kazuki@c...>
 
 	* ext/.document: remove refinement from documentable directories.
Index: lib/gserver.rb
===================================================================
--- lib/gserver.rb	(revision 45343)
+++ lib/gserver.rb	(revision 45344)
@@ -37,7 +37,7 @@ require "thread" https://github.com/ruby/ruby/blob/trunk/lib/gserver.rb#L37
 #       super(port, *args)
 #     end
 #     def serve(io)
-#       io.puts(Time.now.to_s)
+#       io.puts(Time.now.to_i)
 #     end
 #   end
 #
@@ -144,7 +144,7 @@ class GServer https://github.com/ruby/ruby/blob/trunk/lib/gserver.rb#L144
   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 a time, as a Fixnum
   attr_reader :maxConnections
   # IO Device on which log messages should be written
   attr_accessor :stdlog
@@ -156,7 +156,7 @@ class GServer https://github.com/ruby/ruby/blob/trunk/lib/gserver.rb#L156
 
   # Called when a client connects, if auditing is enabled.
   #
-  # +client+:: a TCPSocket instances representing the client that connected
+  # +client+:: a TCPSocket instance representing the client that connected
   #
   # Return true to allow this client to connect, false to prevent it.
   def connecting(client)
@@ -192,7 +192,7 @@ class GServer https://github.com/ruby/ruby/blob/trunk/lib/gserver.rb#L192
   # Called if #debug is true whenever an unhandled exception is raised.
   # This implementation simply logs the backtrace.
   #
-  # +detail+:: The Exception that was caught
+  # +detail+:: the Exception that was caught
   def error(detail)
     log(detail.backtrace.join("\n"))
   end
@@ -212,9 +212,9 @@ class GServer https://github.com/ruby/ruby/blob/trunk/lib/gserver.rb#L212
 
   # 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
+  # +maxConnections+:: the maximum number of simultaneous connections to
   #                    accept
   # +stdlog+:: IO device on which to log messages
   # +audit+:: if true, lifecycle callbacks will be called.  See #audit

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]