git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-07-02 16:17:17 +00:00
parent 04390cb1f3
commit 3d2e699f0e

View File

@ -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