update the document for to_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b2a4f270e8
commit
ae8dfe8626
@ -222,7 +222,7 @@ class Pathname
|
|||||||
@path.dup
|
@path.dup
|
||||||
end
|
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
|
alias to_path to_s
|
||||||
|
|
||||||
def inspect # :nodoc:
|
def inspect # :nodoc:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user