method
install_have_child_element
install_have_child_element(tag_name, uri, occurs, name=nil)
public
Hide source
# File lib/rss/rss.rb, line 144 def install_have_child_element(tag_name, uri, occurs, name=nil) name ||= tag_name add_need_initialize_variable(name) install_model(tag_name, uri, occurs, name) attr_accessor name install_element(name) do |n, elem_name| "if @\#{n}\n\"\\\#{@\#{n}.to_s(need_convert, indent)}\"\nelse\n''\nend\n" end end