summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-04 14:20:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-04 14:20:56 +0000
commit6c41b73decf61254ac9c3bc3fc0e1d0169d5b524 (patch)
treeb5d72664711a58672b27db6f5650319ff38ebb01 /time.c
parent2e5610353fd3c0067e2528763a53c2a635067f02 (diff)
downloadbundler-6c41b73decf61254ac9c3bc3fc0e1d0169d5b524.tar.gz
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c8
1 files changed, 1 insertions, 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
*/