* lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.

* lib/rss/rss.rb (RSS::Element#converter): fixed converter
  transmission bug.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2005-04-13 14:48:00 +00:00
parent b665dfd531
commit 18061401cc
3 changed files with 15 additions and 4 deletions

View file

@ -66,7 +66,7 @@ require "rss/xml-stylesheet"
module RSS
VERSION = "0.1.3"
VERSION = "0.1.4"
URI = "http://purl.org/rss/1.0/"
@ -523,8 +523,12 @@ EOC
def converter=(converter)
@converter = converter
children.each do |child|
child.converter = converter unless child.nil?
targets = children.dup
self.class.have_children_elements.each do |variable_name, plural_name|
targets.concat(__send__(plural_name))
end
targets.each do |target|
target.converter = converter unless target.nil?
end
end