diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-19 06:27:06 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-19 06:27:06 +0000 |
| commit | fcbc516b017cb813873963aa1429d9a88f6dc05e (patch) | |
| tree | 430b40bc83914fdd8ac33c6c4e47e3c546af279b /io.c | |
| parent | 7c202937fa47f2b65a060f66e83042e151d97aeb (diff) | |
| download | ruby-fcbc516b017cb813873963aa1429d9a88f6dc05e.tar.gz ruby-fcbc516b017cb813873963aa1429d9a88f6dc05e.tar.xz ruby-fcbc516b017cb813873963aa1429d9a88f6dc05e.zip | |
* object.c (rb_mod_cmp): stupid comparison fixed.
* io.c (Init_IO): ARGF.path added (alias to ARGF.filename).
[ruby-dev:20197]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4036,6 +4036,7 @@ Init_IO() rb_define_singleton_method(argf, "to_s", argf_filename, 0); rb_define_singleton_method(argf, "filename", argf_filename, 0); + rb_define_singleton_method(argf, "path", argf_filename, 0); rb_define_singleton_method(argf, "file", argf_file, 0); rb_define_singleton_method(argf, "skip", argf_skip, 0); rb_define_singleton_method(argf, "close", argf_close, 0); |
