aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-31 00:13:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-31 00:13:10 +0000
commitc57e8f7ddc816746e0541c26a3df6cdbd65ba435 (patch)
tree0a55145c50b31e62ba87e70f9a66aaa4dff012f4 /ext/pathname/lib
parentfaca64d5dd30b9db0bc54c80ad1835b626c461b1 (diff)
downloadruby-c57e8f7ddc816746e0541c26a3df6cdbd65ba435.tar.gz
* ext/pathname/pathname.c (path_to_s): Pathname#to_s translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-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