summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-02 16:17:17 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-02 16:17:17 +0000
commitba590c4889dbfb81b7e215644adac6aba1c4305a (patch)
treea65cc3bdaf6ae730b535a94c8eea6e76a54d4483 /lib
parent5ba916cefa9f4bd7145cbec710160e3cd5d611cb (diff)
downloadruby-ba590c4889dbfb81b7e215644adac6aba1c4305a.tar.gz
ruby-ba590c4889dbfb81b7e215644adac6aba1c4305a.tar.xz
ruby-ba590c4889dbfb81b7e215644adac6aba1c4305a.zip
doc fix.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8705 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 99261ca9d..9a08fa39c 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