mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e5610353f
commit
6c41b73dec
1 changed files with 1 additions and 7 deletions
8
time.c
8
time.c
|
@ -1888,13 +1888,6 @@ timew2timespec_exact(wideval_t timew, struct timespec *ts)
|
||||||
return ts;
|
return ts;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Document-method: now
|
|
||||||
*
|
|
||||||
* Alias for Time::new. Returns a Time object
|
|
||||||
* initialized to the current system time.
|
|
||||||
*/
|
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
time_init_0(VALUE time)
|
time_init_0(VALUE time)
|
||||||
{
|
{
|
||||||
|
@ -2450,6 +2443,7 @@ rb_time_timespec(VALUE time)
|
||||||
* Time.now -> time
|
* Time.now -> time
|
||||||
*
|
*
|
||||||
* Creates a new Time object for the current 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
|
* Time.now #=> 2009-06-24 12:39:54 +0900
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue