method
def_other_element_without_accessor
def_other_element_without_accessor(name)
public
Hide source
# File lib/rss/maker/base.rb, line 147 def def_other_element_without_accessor(name) add_need_initialize_variable(name) add_other_element(name) module_eval("def setup_\#{name}(feed, current)\nif !@\#{name}.nil? and current.respond_to?(:\#{name}=)\ncurrent.\#{name} = @\#{name}\nend\nend\n", __FILE__, __LINE__ + 1) end