diff options
-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 99261ca9d9..9a08fa39c2 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -415,7 +415,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 |