summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-02 17:43:59 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-02 17:43:59 +0000
commit7b154a9702afcb26967cf3f408fc3d58b5d95ec0 (patch)
tree20e751bd323d6926fc191540c621659b928c6dbb /lib
parentbe080b7f9e4e16e5febf4a2c79377a73ef61b5b3 (diff)
doc fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/pathname.rb2
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