From ae8dfe8626c5835556b340e377b0b49a434d0cd8 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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: -- cgit v1.2.3