summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-23 17:47:58 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-23 17:47:58 +0000
commit9224dd1df8fd0767ec5447c95fd96580267f6eb9 (patch)
treedc7c190191555c299ec5889c74d2ca8a84beb191 /lib
parentb8d4638d8fca75f5aa376d47f2a1c2a1cbd9b62b (diff)
downloadruby-9224dd1df8fd0767ec5447c95fd96580267f6eb9.tar.gz
ruby-9224dd1df8fd0767ec5447c95fd96580267f6eb9.tar.xz
ruby-9224dd1df8fd0767ec5447c95fd96580267f6eb9.zip
update rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/time.rb b/lib/time.rb
index 5b70deca5..2e6ed324e 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -206,7 +206,7 @@ class Time
# If a block is given, the year described in +date+ is converted by the
# block. For example:
#
- # Time.parse(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y}
+ # Time.parse(...) {|y| 0 <= y && y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y}
#
# If the upper components of the given time are broken or missing, they are
# supplied with those of +now+. For the lower components, the minimum