Class: Wee::PageDecoration

Inherits:
WrapperDecoration show all
Defined in:
lib/wee/components/page_decoration.rb

Instance Attribute Summary

Attributes inherited from Decoration

#owner

Instance Method Summary collapse

Methods inherited from WrapperDecoration

#do_render

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

Returns:

  • (Boolean)


7
# File 'lib/wee/components/page_decoration.rb', line 7

def global?() true end