Class: Wee::PageDecoration
- Inherits:
-
WrapperDecoration
- Object
- Presenter
- Decoration
- WrapperDecoration
- Wee::PageDecoration
- Defined in:
- lib/wee/components/page_decoration.rb
Instance Attribute Summary
Attributes inherited from Decoration
Instance Method Summary collapse
- #global? ⇒ Boolean
-
#initialize(title = '') ⇒ PageDecoration
constructor
A new instance of PageDecoration.
Methods inherited from WrapperDecoration
Methods inherited from Decoration
#backtrack_state, #do_render, #process_callbacks, #restore_snapshot, #take_snapshot
Methods inherited from Presenter
#backtrack_state, #do_render, #get_property, #lookup_property, #process_callbacks, #properties, #properties=, #render, #session, template, uses_property
Constructor Details
#initialize(title = '') ⇒ PageDecoration
Returns a new instance of PageDecoration.
2 3 4 5 |
# File 'lib/wee/components/page_decoration.rb', line 2 def initialize(title='') @title = title super() end |
Instance Method Details
#global? ⇒ Boolean
7 |
# File 'lib/wee/components/page_decoration.rb', line 7 def global?() true end |