summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-29 08:11:25 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-29 08:11:25 (GMT)
commit5bb1f4e73ff3f4dd289bdd485500b89ad9e9ef0d (patch)
treeae93459ecc54650c3344ae943679062cde43585d /time.c
parentb9ca9169ba7c71a507fb3d4bcd6373c9c23edc7f (diff)
time.c: [DOC] fix method names to refer class methods [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/time.c b/time.c
index d36149b..28a5005 100644
--- a/time.c
+++ b/time.c
@@ -5249,9 +5249,9 @@ rb_time_zone_abbreviation(VALUE zone, VALUE time)
* tz = timezone("Europe/Athens") # Eastern European Time, UTC+2
* Time.new(2002, 10, 31, 2, 2, 2, tz) #=> 2002-10-31 02:02:02 +0200
*
- * You can also use #gm, #local and
- * #utc to infer GMT, local and UTC timezones instead of using
- * the current system setting.
+ * You can also use Time::gm, Time::local and Time::utc to infer GMT,
+ * local and UTC timezones instead of using the current system
+ * setting.
*
* You can also create a new time using Time::at which takes the number of
* seconds (or fraction of seconds) since the {Unix