Flowdock
method

def_classed_element_without_accessor

Importance_0
def_classed_element_without_accessor(name, class_name=nil) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/maker/base.rb, line 75
        def def_classed_element_without_accessor(name, class_name=nil)
          class_name ||= Utils.to_class_name(name)
          add_other_element(name)
          add_need_initialize_variable(name, "make_#{name}")
          module_eval("private\ndef setup_\#{name}(feed, current)\n@\#{name}.to_feed(feed, current)\nend\n\ndef make_\#{name}\nself.class::\#{class_name}.new(@maker)\nend\n", __FILE__, __LINE__ + 1)
        end
Register or log in to add new notes.