Class: Lapillus::NullComponent

Inherits:
RenderableComponent show all
Defined in:
lib/lapillus/html_visitor.rb

Instance Method Summary collapse

Methods inherited from RenderableComponent

#initialize, #on_render, #render_behaviours, #render_component, #render_container, #render_to_element, #visible?

Constructor Details

This class inherits a constructor from Lapillus::RenderableComponent

Instance Method Details

#render_children(visitor, element) ⇒ Object

TODO: move to standard container class?



20
21
22
23
24
25
# File 'lib/lapillus/html_visitor.rb', line 20

def render_children(visitor, element)
      element.children.each do |child|
    #        puts child.class
    child.accept(visitor)
  end
end