* lib/rdoc/usage.rb: supress warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-08-29 11:07:10 +00:00
parent 7c755d4174
commit 0b7f8eef40

View File

@ -139,7 +139,7 @@ module RDoc
end end
def RDoc.find_comment(file) def RDoc.find_comment(file)
catch (:exit) do catch(:exit) do
# skip leading blank lines # skip leading blank lines
0 while (line = gets(file)) && (line =~ /^\s*$/) 0 while (line = gets(file)) && (line =~ /^\s*$/)