diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-16 12:40:10 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-16 12:40:10 +0000 |
commit | 16cd13c05188bf52c5dfb056f02ebf4574bb1bc3 (patch) | |
tree | f677d7e3a505c3d32a0c0d6283eeaf2edee90ab9 /ext/pathname/lib/pathname.rb | |
parent | 66c25e4ca14fda15c4a0d5cd619e573060ebd756 (diff) | |
download | ruby-16cd13c05188bf52c5dfb056f02ebf4574bb1bc3.tar.gz |
* ext/pathname/pathname.c (path_basename): Pathname#basename translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index baadec4196..44152b9b6c 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -512,9 +512,6 @@ end class Pathname # * File * - # See <tt>File.basename</tt>. Returns the last component of the path. - def basename(*args) self.class.new(File.basename(@path, *args)) end - # See <tt>File.dirname</tt>. Returns all but the last component of the path. def dirname() self.class.new(File.dirname(@path)) end |