ruby-changes:36190
From: akr <ko1@a...>
Date: Tue, 4 Nov 2014 23:21:09 +0900 (JST)
Subject: [ruby-changes:36190] akr:r48271 (trunk): update doc.
akr 2014-11-04 23:20:56 +0900 (Tue, 04 Nov 2014) New Revision: 48271 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48271 Log: update doc. Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 48270) +++ time.c (revision 48271) @@ -1888,13 +1888,6 @@ timew2timespec_exact(wideval_t timew, st https://github.com/ruby/ruby/blob/trunk/time.c#L1888 return ts; } -/* - * Document-method: now - * - * Alias for Time::new. Returns a Time object - * initialized to the current system time. - */ - static VALUE time_init_0(VALUE time) { @@ -2450,6 +2443,7 @@ rb_time_timespec(VALUE time) https://github.com/ruby/ruby/blob/trunk/time.c#L2443 * Time.now -> time * * Creates a new Time object for the current time. + * This is same as Time.new without arguments. * * Time.now #=> 2009-06-24 12:39:54 +0900 */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/