mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* time.c (Init_Time): define initialize. [ruby-dev:21469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d77b606edd
commit
38d1922038
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Oct 2 18:20:27 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* time.c (Init_Time): define initialize. [ruby-dev:21469]
|
||||
|
||||
Thu Oct 2 17:39:38 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.
|
||||
|
|
1
time.c
1
time.c
|
@ -1446,6 +1446,7 @@ Init_Time()
|
|||
rb_define_method(rb_cTime, "<=>", time_cmp, 1);
|
||||
rb_define_method(rb_cTime, "eql?", time_eql, 1);
|
||||
rb_define_method(rb_cTime, "hash", time_hash, 0);
|
||||
rb_define_method(rb_cTime, "initialize", time_init, 0);
|
||||
rb_define_method(rb_cTime, "initialize_copy", time_init_copy, 1);
|
||||
|
||||
rb_define_method(rb_cTime, "localtime", time_localtime, 0);
|
||||
|
|
Loading…
Reference in a new issue