aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-13 11:48:58 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-13 11:48:58 +0000
commit878747437c662aaeac55e27254c6dbc3fb720b7d (patch)
tree2123ffebb6e640c158d42f7a2b5211a64cc67274 /ext/pathname/lib
parentccd7af7e8303c4e7e8d96827c6c7df84dbaf767f (diff)
downloadruby-878747437c662aaeac55e27254c6dbc3fb720b7d.tar.gz
* ext/pathname/pathname.c (path_zero_p): Pathname#zero? translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r--ext/pathname/lib/pathname.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index d00cf51b67..6cf6419e52 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -484,13 +484,6 @@ class Pathname
end
-class Pathname # * FileTest *
-
- # See <tt>FileTest.zero?</tt>.
- def zero?() FileTest.zero?(@path) end
-end
-
-
class Pathname # * Dir *
# See <tt>Dir.glob</tt>. Returns or yields Pathname objects.
def Pathname.glob(*args) # :yield: pathname