From 7b154a9702afcb26967cf3f408fc3d58b5d95ec0 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 2 Jul 2005 17:43:59 +0000 Subject: doc fix. git-svn-id: svn+ssh://ci.ruby-lang.org/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 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 -- cgit v1.2.3