diff options
| author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-04 09:53:01 +0000 |
|---|---|---|
| committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-04 09:53:01 +0000 |
| commit | 505857c5cff6a41a7f5ef3c6f1341927239887a2 (patch) | |
| tree | 618a183f3d527c76f31bb169a349671feac04faa /lib/rss/maker | |
| parent | ad6cd5f558eab46b7cf6718fb1ad5a710b055aee (diff) | |
* lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
* lib/rss/rss.rb: #item=/#set_item and so on are obsolete.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/maker')
| -rw-r--r-- | lib/rss/maker/2.0.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/maker/2.0.rb b/lib/rss/maker/2.0.rb index 9094b1e73..a95866161 100644 --- a/lib/rss/maker/2.0.rb +++ b/lib/rss/maker/2.0.rb @@ -59,7 +59,7 @@ module RSS category = Rss::Channel::Category.new set = setup_values(category) if set - channel.category = category + channel.categories << category setup_other_elements(rss) end end @@ -145,7 +145,7 @@ module RSS category = Rss::Channel::Item::Category.new set = setup_values(category) if set - item.category = category + item.categories << category setup_other_elements(rss) end end |
