summaryrefslogtreecommitdiff
path: root/ext/pathname/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-17 04:02:32 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-17 04:02:32 +0000
commit05745ccfb367ab670ebbad8c992edf2cf70d8b4b (patch)
tree8efbe141cd852b43f6936d2bb74b5755a319be8a /ext/pathname/lib
parent1572070fa07dfc57cd63d0a2ab14538cf67005eb (diff)
* ext/pathname/pathname.c (path_dirname): Pathname#dirname translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r--ext/pathname/lib/pathname.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 44152b9..487402c 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -512,9 +512,6 @@ end
class Pathname # * File *
- # See <tt>File.dirname</tt>. Returns all but the last component of the path.
- def dirname() self.class.new(File.dirname(@path)) end
-
# See <tt>File.extname</tt>. Returns the file's extension.
def extname() File.extname(@path) end