Class: Wee::WrapperDecoration
- Inherits:
-
Decoration
- Object
- Presenter
- Decoration
- Wee::WrapperDecoration
- Defined in:
- lib/wee/decoration.rb
Direct Known Subclasses
FormDecoration, OidDecoration, PageDecoration, StyleDecoration
Instance Attribute Summary
Attributes inherited from Decoration
Instance Method Summary collapse
-
#render(r) ⇒ Object
Overwrite this method, and call render_innerĀ® where you want the inner content to be drawn.
- #render_inner(r) ⇒ Object
Methods inherited from Decoration
#global?, #process_callbacks, #render_presenter!, #state
Methods inherited from Presenter
#process_callbacks, #renderer_class, #state
Instance Method Details
#render(r) ⇒ Object
Overwrite this method, and call render_innerĀ® where you want the inner content to be drawn.
168 169 170 |
# File 'lib/wee/decoration.rb', line 168 def render(r) render_inner(r) end |
#render_inner(r) ⇒ Object
172 173 174 |
# File 'lib/wee/decoration.rb', line 172 def render_inner(r) r.render_decoration(@next) end |