We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1be6a3 commit 8f1ae02Copy full SHA for 8f1ae02
1 file changed
pathname_builtin.rb
@@ -590,7 +590,7 @@ def descend
590
# yields +self+, then a new pathname for each successive dirname in the stored path;
591
# see File.dirname:
592
#
593
- # Pathname.new('/path/to/some/file.rb').ascend {|dirname| p dirname}
+ # Pathname('/path/to/some/file.rb').ascend {|dirname| p dirname}
594
# #<Pathname:/path/to/some/file.rb>
595
# #<Pathname:/path/to/some>
596
# #<Pathname:/path/to>
0 commit comments