From 86b26898ebe3bbb53fa76a41fbf12c41a91ce4bd Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 21 Aug 2010 08:37:28 +0000 Subject: * ext/pathname/pathname.c (path_split): Pathname#split translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pathname/lib/pathname.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ext/pathname/lib/pathname.rb') 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 File.split. 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 FileTest.blockdev?. -- cgit v1.2.3