mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue