summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-29 11:07:10 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-29 11:07:10 +0000
commitdc1b2847b143973894441a27ba9341a5f5dca086 (patch)
treee329871f1ed24fae8823c27efd47bb80402c238b
parent1baea05f5ab61f2c27f2bd216c9be2ce8cc02fc9 (diff)
downloadruby-dc1b2847b143973894441a27ba9341a5f5dca086.tar.gz
ruby-dc1b2847b143973894441a27ba9341a5f5dca086.tar.xz
ruby-dc1b2847b143973894441a27ba9341a5f5dca086.zip
* lib/rdoc/usage.rb: supress warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/rdoc/usage.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/usage.rb b/lib/rdoc/usage.rb
index 3a3718e2d..08393c380 100644
--- a/lib/rdoc/usage.rb
+++ b/lib/rdoc/usage.rb
@@ -139,7 +139,7 @@ module RDoc
end
def RDoc.find_comment(file)
- catch (:exit) do
+ catch(:exit) do
# skip leading blank lines
0 while (line = gets(file)) && (line =~ /^\s*$/)