Class: Wee::WrapperDecoration

Inherits:
Decoration show all
Defined in:
lib/wee/components/wrapper_decoration.rb

Direct Known Subclasses

FormDecoration, PageDecoration

Instance Attribute Summary

Attributes inherited from Decoration

#owner

Instance Method Summary collapse

Methods inherited from Decoration

#backtrack_state, #global?, #process_callbacks, #restore_snapshot, #take_snapshot

Methods inherited from Presenter

#backtrack_state, #get_property, #lookup_property, #process_callbacks, #properties, #properties=, #render, #session, template, uses_property

Instance Method Details

#do_render(rendering_context) ⇒ Object



2
3
4
5
6
# File 'lib/wee/components/wrapper_decoration.rb', line 2

def do_render(rendering_context)
  with_renderer_for(rendering_context) do
    render_wrapper { super(rendering_context) }
  end
end