summaryrefslogtreecommitdiff
path: root/ext/pathname/lib/pathname.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-08 04:21:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-08 04:21:26 +0000
commit739e022d006b755b4c6641eda958bdfb5969b65d (patch)
tree32560e0c9d76a8533e66f2f7de6876d3b5b62821 /ext/pathname/lib/pathname.rb
parentaac4f022e2b4bb601f5068bfc7e25de49493563f (diff)
* ext/pathname/pathname.c (path_ftype): Pathname#ftype translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-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 d2373ebdb1..d2d3d8ac21 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -512,10 +512,6 @@ end
class Pathname # * File *
- # See <tt>File.ftype</tt>. Returns "type" of file ("file", "directory",
- # etc).
- def ftype() File.ftype(@path) end
-
# See <tt>File.link</tt>. Creates a hard link.
def make_link(old) File.link(old, @path) end