From 6c41b73decf61254ac9c3bc3fc0e1d0169d5b524 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 4 Nov 2014 14:20:56 +0000 Subject: update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/time.c b/time.c index 53b3cde96d..cef400e371 100644 --- a/time.c +++ b/time.c @@ -1888,13 +1888,6 @@ timew2timespec_exact(wideval_t timew, struct timespec *ts) 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) * 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 */ -- cgit v1.2.3