Class: Wee::WrapperDecoration
- Inherits:
-
Decoration
- Object
- Presenter
- Decoration
- Wee::WrapperDecoration
- Defined in:
- lib/wee/decoration.rb
Overview
class Delegate
Direct Known Subclasses
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_on, #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.
210 211 212 |
# File 'lib/wee/decoration.rb', line 210 def render(r) render_inner(r) end |
#render_inner(r) ⇒ Object
214 215 216 |
# File 'lib/wee/decoration.rb', line 214 def render_inner(r) r.render_decoration(@next) end |