aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pathname.rb2
1 files changed, 1 insertions, 1 deletions
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: