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 76
        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) do |object|
            object.send("make_#{name}")
          end
          module_eval(            private            def setup_#{name}(feed, current)              @#{name}.to_feed(feed, current)            end            def make_#{name}              self.class::#{class_name}.new(@maker)            end, __FILE__, __LINE__ + 1)
        end
Register or log in to add new notes.