summaryrefslogtreecommitdiff
path: root/lib/pathname.rb
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
commit3d2e699f0e3eda95f121aeeaa09ab4d3d6ae9eb7 (patch)
treea65cc3bdaf6ae730b535a94c8eea6e76a54d4483 /lib/pathname.rb
parent04390cb1f318320cb5cb99b9b15442878a4daed4 (diff)
doc fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r--lib/pathname.rb2
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