From f84f1644138d20263f0939606dc8fc4f83fcc29f Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 14 Sep 2010 22:23:09 +0000 Subject: * ext/pathname/pathname.c (path_entries): Pathname#entries translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pathname/lib/pathname.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/pathname/lib') diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 0efb5d4eb0..efe45afd6e 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -486,10 +486,6 @@ end class Pathname # * Dir * - # Return the entries (files and subdirectories) in the directory, each as a - # Pathname object. - def entries() Dir.entries(@path).map {|f| self.class.new(f) } end - # Iterates over the entries (files and subdirectories) in the directory. It # yields a Pathname object for each entry. # -- cgit v1.2.3