method

def_other_element_without_accessor

v2_1_10 - Show latest stable - Class: RSS::Maker::Base
def_other_element_without_accessor(name)
public

No documentation available.

# 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)              if !@#{name}.nil? and current.respond_to?(:#{name}=)                current.#{name} = @#{name}              end            end, __FILE__, __LINE__ + 1)
        end