diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-03 23:08:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-03 23:08:45 +0000 |
commit | 9778625be8af59e0d9eb9707db019881a82480c1 (patch) | |
tree | 03453e2c7596f7a2471cc987e210aeca510a89fb /lib | |
parent | 5dfa7cacd162be3164d259dcf6f2d4e035724fb5 (diff) | |
download | ruby-9778625be8af59e0d9eb9707db019881a82480c1.tar.gz |
* ext/syck/rubyext.c: get rid of warnings.
* lib/rss/taxonomy.rb: ditto.
* lib/rdoc/ri/ri_formatter.rb: ditto.
* test/ruby/test_assignment.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rdoc/ri/ri_formatter.rb | 2 | ||||
-rw-r--r-- | lib/rss/taxonomy.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/rdoc/ri/ri_formatter.rb b/lib/rdoc/ri/ri_formatter.rb index 07439b93f7..dfc5d031d5 100644 --- a/lib/rdoc/ri/ri_formatter.rb +++ b/lib/rdoc/ri/ri_formatter.rb @@ -57,7 +57,7 @@ module RI end end res << work if work.length.nonzero? - puts (prefix + res.join("\n" + next_prefix)) + puts(prefix + res.join("\n" + next_prefix)) end ###################################################################### diff --git a/lib/rss/taxonomy.rb b/lib/rss/taxonomy.rb index 5d3dd5bf85..5b11d338e0 100644 --- a/lib/rss/taxonomy.rb +++ b/lib/rss/taxonomy.rb @@ -19,9 +19,9 @@ module RSS end module TaxonomyModel - attr_writer *%w(title description creator subject publisher + attr_writer(*%w(title description creator subject publisher contributor date format identifier source - language relation coverage rights).collect{|x| "#{TAXO_PREFIX}_#{x}"} + language relation coverage rights).collect{|x| "#{TAXO_PREFIX}_#{x}"}) end class Channel; extend TaxonomyModel; end |