summaryrefslogtreecommitdiff
path: root/ext/pathname/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-14 22:23:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-14 22:23:09 +0000
commitf84f1644138d20263f0939606dc8fc4f83fcc29f (patch)
treecdcf326da94a51633f3b6277c6d4cf9eeda9dd2d /ext/pathname/lib
parentd3a0629afc0fc0e1f59b1060ece81b973a9cdad8 (diff)
* 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
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r--ext/pathname/lib/pathname.rb4
1 files changed, 0 insertions, 4 deletions
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.
#