summaryrefslogtreecommitdiff
path: root/ext/pathname/lib/pathname.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r--ext/pathname/lib/pathname.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 2056477eef..4d19aa737c 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -510,14 +510,6 @@ class Pathname # * IO *
end
-class Pathname # * File *
-
- # See <tt>File.split</tt>. Returns the #dirname and the #basename in an
- # Array.
- def split() File.split(@path).map {|f| self.class.new(f) } end
-end
-
-
class Pathname # * FileTest *
# See <tt>FileTest.blockdev?</tt>.