From 16cd13c05188bf52c5dfb056f02ebf4574bb1bc3 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 16 Aug 2010 12:40:10 +0000 Subject: * 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 --- ext/pathname/lib/pathname.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/pathname/lib') 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 File.basename. Returns the last component of the path. - def basename(*args) self.class.new(File.basename(@path, *args)) end - # See File.dirname. Returns all but the last component of the path. def dirname() self.class.new(File.dirname(@path)) end -- cgit v1.2.3