aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pathname.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r--lib/pathname.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 724a8ff2eb..43b50e1f11 100644
--- a/lib/pathname.rb
+++ b/lib/pathname.rb
@@ -720,7 +720,7 @@ class Pathname # * FileTest *
def readable?() FileTest.readable?(@path) end
# See <tt>FileTest.readable_world?</tt>.
- def readable_world?() FileTest.readable_world?(@path) end
+ def world_readable?() FileTest.world_readable?(@path) end
# See <tt>FileTest.readable_real?</tt>.
def readable_real?() FileTest.readable_real?(@path) end
@@ -747,7 +747,7 @@ class Pathname # * FileTest *
def writable?() FileTest.writable?(@path) end
# See <tt>FileTest.writable_world?</tt>.
- def writable_world?() FileTest.writable_world?(@path) end
+ def world_writable?() FileTest.world_writable?(@path) end
# See <tt>FileTest.writable_real?</tt>.
def writable_real?() FileTest.writable_real?(@path) end