diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 03:34:15 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 03:34:15 +0000 |
commit | ca8f327522fa9672ef4f569c71063112308099fa (patch) | |
tree | fc6a74a75a44a731a68dcebda78e72ef02c23987 /file.c | |
parent | 0c3d96756ab470c71f3da579513a767f27fc08be (diff) | |
download | ruby-ca8f327522fa9672ef4f569c71063112308099fa.tar.gz |
* file.c (File::NULL): Document File::NULL constant
[ruby-core:49384] [Bug #7365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5520,6 +5520,10 @@ Init_File(void) rb_file_const("LOCK_UN", INT2FIX(LOCK_UN)); rb_file_const("LOCK_NB", INT2FIX(LOCK_NB)); + /* Document-const: NULL + * + * Name of the null device + */ rb_file_const("NULL", rb_obj_freeze(rb_usascii_str_new2(null_device))); rb_define_method(rb_cFile, "path", rb_file_path, 0); |