summaryrefslogtreecommitdiff
path: root/lib/pathname.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-07 05:33:19 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-07 05:33:19 +0000
commitae8dfe8626c5835556b340e377b0b49a434d0cd8 (patch)
tree86728aea09ed3d74b29c39f102cdbcdf8c6dbf6e /lib/pathname.rb
parentb2a4f270e8dde1cb0e2ea7e7afcf7367207ed7dd (diff)
update the document for to_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r--lib/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 43126aca3c..05853689fd 100644
--- a/lib/pathname.rb
+++ b/lib/pathname.rb
@@ -222,7 +222,7 @@ class Pathname
@path.dup
end
- # to_str is implemented so Pathname objects are usable with File.open, etc.
+ # to_path is implemented so Pathname objects are usable with File.open, etc.
alias to_path to_s
def inspect # :nodoc: