From 08c467330ba0bc92150a65a01cd397562a5ea78d Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 16 Sep 2010 14:48:20 +0000 Subject: * ext/pathname/pathname.c (path_opendir): Pathname#opendir translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29277 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 ac8d106e11..1f29f38376 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -494,10 +494,6 @@ class Pathname # * Dir * Dir.foreach(@path) {|f| yield self.class.new(f) } end - # See Dir.open. - def opendir(&block) # :yield: dir - Dir.open(@path, &block) - end end -- cgit v1.2.3