diff options
| author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-19 13:46:05 +0000 |
|---|---|---|
| committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-19 13:46:05 +0000 |
| commit | 30ed2652a4a860ae4f77c494f0bd0befac39d374 (patch) | |
| tree | 2244da9c25905cbb194cc2166f5083be17f9dedb /lib | |
| parent | de71551fbd5c69dba3dada0f4c07ebf6445e93b3 (diff) | |
| download | ruby-30ed2652a4a860ae4f77c494f0bd0befac39d374.tar.gz ruby-30ed2652a4a860ae4f77c494f0bd0befac39d374.tar.xz ruby-30ed2652a4a860ae4f77c494f0bd0befac39d374.zip | |
RDoc can now deal with "attr" used as a variable
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rdoc/parsers/parse_rb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index e862cc71e..5a98258f7 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -2459,7 +2459,7 @@ module RDoc context.add_attribute(att) end else - error("Missing argument to 'attr'") + warn("'attr' ignored - looks like a variable") end end |
