From d9a91188ef42c2e6e12594e84b918da6a9c9f091 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 7 Apr 2004 05:33:19 +0000 Subject: update the document for to_path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit