private Method

Element.setup_maker_elements(parent)

There's no documentation for this item.

Source Code

# File rss/rss.rb, line 763
def setup_maker_elements(parent)
  self.class.have_children_elements.each do |name, plural_name|
    if parent.respond_to?(plural_name)
      target = parent.__send__(plural_name)
      __send__(plural_name).each do |elem|
        elem.setup_maker(target)
      end
    end
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.