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.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 75705ff993..550939afd9 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -31,11 +31,6 @@ class Pathname
# :startdoc:
- # Return the path as a String.
- def to_s
- @path.dup
- end
-
# to_path is implemented so Pathname objects are usable with File.open, etc.
alias_method TO_PATH, :to_s