summaryrefslogtreecommitdiff
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, 0 insertions, 4 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 20cff4f097..4d05b6f38c 100644
--- a/lib/pathname.rb
+++ b/lib/pathname.rb
@@ -234,10 +234,6 @@ class Pathname
"#<#{self.class}:#{@path}>"
end
- def to_open(*args) # :nodoc:
- Kernel::open(@path, *args)
- end
-
#
# Returns clean pathname of +self+ with consecutive slashes and useless dots
# removed. The filesystem is not accessed.