aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-13 12:54:57 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-13 12:54:57 +0000
commit58355ea52a44ba8d66f1eb4dc10934e7b75efa7b (patch)
tree5dcb869963b6fdf6bee0fbdb8c9a103655952bb6 /lib
parenta55d803ed3246ef68e83240feb19eeee9d605d69 (diff)
downloadruby-58355ea52a44ba8d66f1eb4dc10934e7b75efa7b.tar.gz
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/logger.rb7
-rw-r--r--lib/uri/common.rb3
-rw-r--r--lib/uri/ftp.rb4
-rw-r--r--lib/uri/ldap.rb5
4 files changed, 11 insertions, 8 deletions
diff --git a/lib/logger.rb b/lib/logger.rb
index 283db8d1f8..6f3535fe30 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -224,7 +224,8 @@ class Logger
@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 @@ class Logger
# +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.
#
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index db53872fec..a8786b01f5 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -290,7 +290,8 @@ module URI
#
# == 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)
diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb
index 663ecd5788..a6ef692d53 100644
--- a/lib/uri/ftp.rb
+++ b/lib/uri/ftp.rb
@@ -47,8 +47,8 @@ module URI
# 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.
diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb
index 561082a58e..c7ae83732c 100644
--- a/lib/uri/ldap.rb
+++ b/lib/uri/ldap.rb
@@ -37,8 +37,9 @@ module URI
# 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',