diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-14 22:23:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-14 22:23:09 +0000 |
commit | f84f1644138d20263f0939606dc8fc4f83fcc29f (patch) | |
tree | cdcf326da94a51633f3b6277c6d4cf9eeda9dd2d /ext/pathname/lib | |
parent | d3a0629afc0fc0e1f59b1060ece81b973a9cdad8 (diff) | |
download | ruby-f84f1644138d20263f0939606dc8fc4f83fcc29f.tar.gz |
* 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.rb | 4 |
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. # |