summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-01 15:49:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-01 15:49:50 +0000
commit331b0ac55b1eb6f4b1e48df9cf91e6752cf586ac (patch)
treee0744e1e34574108da718b193eedc31ec5cb1aa8 /lib
parentd03c86391b52e8470fb5b31c58ebc2422ec1653b (diff)
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49093 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 d39c4f6..8edc9e6 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -37,7 +37,7 @@ require 'date'
# #parse takes a string representation of a Time and attempts to parse it
# using a heuristic.
#
-# Date.parse("2010-10-31") #=> 2010-10-31 00:00:00 -0500
+# Time.parse("2010-10-31") #=> 2010-10-31 00:00:00 -0500
#
# Any missing pieces of the date are inferred based on the current date.
#