diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-21 08:37:28 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-21 08:37:28 +0000 |
commit | 86b26898ebe3bbb53fa76a41fbf12c41a91ce4bd (patch) | |
tree | 8e543c2b9a9d5d224118817370796f80f893f8e0 /ext/pathname/lib | |
parent | b88a5027b86d8bfd8a0892588322e1083e9caa1d (diff) | |
download | ruby-86b26898ebe3bbb53fa76a41fbf12c41a91ce4bd.tar.gz |
* 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
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 8 |
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>. |