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

ruby-changes:53213

From: nobu <ko1@a...>
Date: Mon, 29 Oct 2018 17:11:31 +0900 (JST)
Subject: [ruby-changes:53213] nobu:r65428 (trunk): time.c: [DOC] fix method names to refer class methods [ci skip]

nobu	2018-10-29 17:11:25 +0900 (Mon, 29 Oct 2018)

  New Revision: 65428

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65428

  Log:
    time.c: [DOC] fix method names to refer class methods [ci skip]

  Modified files:
    trunk/time.c
Index: time.c
===================================================================
--- time.c	(revision 65427)
+++ time.c	(revision 65428)
@@ -5249,9 +5249,9 @@ rb_time_zone_abbreviation(VALUE zone, VA https://github.com/ruby/ruby/blob/trunk/time.c#L5249
  *    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

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

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