aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/maker
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-04 09:53:01 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-04 09:53:01 +0000
commit636e37fcb940f845c2323e055f063cd4aec5f7d4 (patch)
tree618a183f3d527c76f31bb169a349671feac04faa /lib/rss/maker
parent5262bd8a2c445534408d947bd5d96c4da488e8c9 (diff)
downloadruby-636e37fcb940f845c2323e055f063cd4aec5f7d4.tar.gz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/maker')
-rw-r--r--lib/rss/maker/2.0.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/maker/2.0.rb b/lib/rss/maker/2.0.rb
index 9094b1e73b..a958661614 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