From 078d19b29f689e4a17e86b134d563978eb7a5fd8 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 19 Aug 2010 01:06:49 +0000 Subject: * ext/pathname/pathname.c (path_extname): Pathname#extname translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pathname/lib/pathname.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/pathname/lib/pathname.rb') diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 487402c21b..54b06eefbc 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -512,9 +512,6 @@ end class Pathname # * File * - # See File.extname. Returns the file's extension. - def extname() File.extname(@path) end - # See File.expand_path. def expand_path(*args) self.class.new(File.expand_path(@path, *args)) end -- cgit v1.2.3