diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-01 11:57:58 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-01 11:57:58 +0000 |
commit | c29b801afad1dc5cb4227bcef9e4bc004c967b8a (patch) | |
tree | 00e5459fe9a17e944a0b26ed6e9bcbf8e7314b0d /ext/pathname/lib | |
parent | b496cd64e5c8a588f19ff699beda175e2d453d72 (diff) | |
download | ruby-c29b801afad1dc5cb4227bcef9e4bc004c967b8a.tar.gz |
* ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index c30be4c948..760277e640 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -180,17 +180,6 @@ class Pathname private :cleanpath_conservative # - # Returns the real (absolute) pathname of +self+ in the actual - # filesystem not containing symlinks or useless dots. - # - # All components of the pathname must exist when this method is - # called. - # - def realpath(basedir=nil) - self.class.new(File.realpath(@path, basedir)) - end - - # # Returns the real (absolute) pathname of +self+ in the actual filesystem. # The real pathname doesn't contain symlinks or useless dots. # |