summaryrefslogtreecommitdiffstats
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
commitd9a91188ef42c2e6e12594e84b918da6a9c9f091 (patch)
tree86728aea09ed3d74b29c39f102cdbcdf8c6dbf6e
parent75a705a0d2317a30ab0ea79ee1700d6fa3d9af2d (diff)
downloadruby-d9a91188ef42c2e6e12594e84b918da6a9c9f091.tar.gz
ruby-d9a91188ef42c2e6e12594e84b918da6a9c9f091.tar.xz
ruby-d9a91188ef42c2e6e12594e84b918da6a9c9f091.zip
update the document for to_path.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 43126aca3..05853689f 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: