aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname/lib/pathname.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-31 07:21:42 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-31 07:21:42 +0000
commit9006bd201535061bdf11192430432fee33bc9327 (patch)
tree7b51ee44813602466dfe14f49a169b37bf01f88c /ext/pathname/lib/pathname.rb
parent0794c1da9325b51c627dab99ec2e7ff71a5bcdda (diff)
downloadruby-9006bd201535061bdf11192430432fee33bc9327.tar.gz
* ext/pathname/pathname.c (Init_pathname): The alias,
Pathname#to_path, is translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r--ext/pathname/lib/pathname.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 550939afd9..57e410f345 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -31,9 +31,6 @@ class Pathname
# :startdoc:
- # to_path is implemented so Pathname objects are usable with File.open, etc.
- alias_method TO_PATH, :to_s
-
def inspect # :nodoc:
"#<#{self.class}:#{@path}>"
end