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

ruby-changes:19508

From: nagachika <ko1@a...>
Date: Fri, 13 May 2011 21:55:04 +0900 (JST)
Subject: [ruby-changes:19508] nagachika:r31548 (trunk): * lib/logger.rb: format comments to keep 80 columns in a line.

nagachika	2011-05-13 21:54:57 +0900 (Fri, 13 May 2011)

  New Revision: 31548

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

  Log:
    * lib/logger.rb: format comments to keep 80 columns in a line.
      * lib/uri/common.rb: ditto.
      * lib/uri/ftp.rb: ditto.
      * lib/uri/ldap.rb: ditto.

  Modified files:
    trunk/lib/logger.rb
    trunk/lib/uri/common.rb
    trunk/lib/uri/ftp.rb
    trunk/lib/uri/ldap.rb

Index: lib/logger.rb
===================================================================
--- lib/logger.rb	(revision 31547)
+++ lib/logger.rb	(revision 31548)
@@ -224,7 +224,8 @@
     @default_formatter.datetime_format = datetime_format
   end
 
-  # Returns the date format (string passed to +strftime+) being used (it's set using datetime_format=)
+  # Returns the date format (string passed to +strftime+) being used (it's set
+  # using datetime_format=)
   def datetime_format
     @default_formatter.datetime_format
   end
@@ -305,8 +306,8 @@
   # +message+::
   #   The log message.  A String or Exception.
   # +progname+::
-  #   Program name string.  Can be omitted.  Treated as a message if no +message+ and
-  #   +block+ are given.
+  #   Program name string.  Can be omitted.  Treated as a message if no
+  #   +message+ and +block+ are given.
   # +block+::
   #   Can be omitted.  Called to get a message string if +message+ is nil.
   #
Index: lib/uri/ldap.rb
===================================================================
--- lib/uri/ldap.rb	(revision 31547)
+++ lib/uri/ldap.rb	(revision 31548)
@@ -37,8 +37,9 @@
     # Scopes available for the starting point.
     #
     # * SCOPE_BASE - the Base DN
-    # * SCOPE_ONE  - one level under the Base DN, not including the base DN and not including any entries under this.
-    # * SCOPE_SUB  - subtress, all entries at all levels 
+    # * SCOPE_ONE  - one level under the Base DN, not including the base DN and
+    #                not including any entries under this.
+    # * SCOPE_SUB  - subtress, all entries at all levels
     #
     SCOPE = [
       SCOPE_ONE = 'one',
Index: lib/uri/common.rb
===================================================================
--- lib/uri/common.rb	(revision 31547)
+++ lib/uri/common.rb	(revision 31548)
@@ -290,7 +290,8 @@
     #
     # == Description
     #
-    # constructs a safe String from +str+, removing unsafe characters, replacing them with codes.
+    # constructs a safe String from +str+, removing unsafe characters,
+    # replacing them with codes.
     #
     def escape(str, unsafe = @regexp[:UNSAFE])
       unless unsafe.kind_of?(Regexp)
Index: lib/uri/ftp.rb
===================================================================
--- lib/uri/ftp.rb	(revision 31547)
+++ lib/uri/ftp.rb	(revision 31548)
@@ -47,8 +47,8 @@
     # alternate initialization
     # Creates a new URI::FTP object.
     #
-    # Unlike build(), this method does not escape the path component as required by
-    # RFC1738; instead it is treated as per RFC2396.
+    # Unlike build(), this method does not escape the path component as
+    # required by RFC1738; instead it is treated as per RFC2396.
     #
     # Arguments are user, password, host, port, path, typecode,
     # and arg_check, in that order.

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

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