From 125f44d90189b14f24ca064e77cfe97eeaff35cd Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 2 Jul 2005 17:43:59 +0000 Subject: doc fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/pathname.rb b/lib/pathname.rb index b701a0651..b7cc01edb 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 -- cgit