summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-18 16:04:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-18 16:04:22 +0000
commit62b3932c9c6695e58732c614631e1eab0a32a403 (patch)
treeddc5d9e1fdd6679c9e8ad9fc401e6d6c24222e25 /file.c
parentdcb9f150e5c59dc4a4a09ff477f57a79d23a5d08 (diff)
downloadruby-62b3932c9c6695e58732c614631e1eab0a32a403.tar.gz
* file.c (Init_File): method definition mismatch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 7379112878..54822a85a9 100644
--- a/file.c
+++ b/file.c
@@ -4346,9 +4346,9 @@ Init_File(void)
define_filetest_function("exist?", rb_file_exist_p, 1);
define_filetest_function("readable?", rb_file_readable_p, 1);
define_filetest_function("readable_real?", rb_file_readable_real_p, 1);
- define_filetest_function("world_readable?", rb_file_world_writable_p, 1);
+ define_filetest_function("world_readable?", rb_file_world_readable_p, 1);
define_filetest_function("writable?", rb_file_writable_p, 1);
- define_filetest_function("writable_real?", rb_file_world_writable_p, 1);
+ define_filetest_function("writable_real?", rb_file_writable_real_p, 1);
define_filetest_function("world_writable?", rb_file_world_writable_p, 1);
define_filetest_function("executable?", rb_file_executable_p, 1);
define_filetest_function("executable_real?", rb_file_executable_real_p, 1);