summaryrefslogtreecommitdiff
path: root/ext/pathname/lib/pathname.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r--ext/pathname/lib/pathname.rb11
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.
#