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
#backtrack, #global?, #process_callbacks, #render_presenter_on
Methods inherited from Presenter
#backtrack, #process_callbacks, #renderer_class
Instance Method Details
#render(r) ⇒ Object
Overwrite this method, and call render_inner® where you want the inner content to be drawn.
209 210 211 |
# File 'lib/wee/decoration.rb', line 209 def render(r) render_inner(r) end |
#render_inner(r) ⇒ Object
213 214 215 |
# File 'lib/wee/decoration.rb', line 213 def render_inner(r) r.render_decoration(@next) end |