diff options
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r-- | lib/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb index b701a06519..b7cc01edb3 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -413,7 +413,7 @@ class Pathname # # Iterates over each component of the path. # - # Pathname.new("/usr/bin/ruby").each_filename + # Pathname.new("/usr/bin/ruby").each_filename {|filename| ... } # # yields "usr", "bin", and "ruby". # def each_filename # :yield: s |