mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
doc fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04390cb1f3
commit
3d2e699f0e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue