Class: Lapillus::UniqueIdentifier
- Inherits:
-
AttributeModifier
- Object
- RenderableComponent
- Component
- Behaviour
- AttributeModifier
- Lapillus::UniqueIdentifier
- Defined in:
- lib/lapillus/behaviours.rb
Overview
TODO test
Instance Attribute Summary
Attributes inherited from Component
#behaviours, #identifier, #model, #property, #visible
Instance Method Summary collapse
-
#initialize ⇒ UniqueIdentifier
constructor
A new instance of UniqueIdentifier.
- #value ⇒ Object
Methods inherited from AttributeModifier
Methods inherited from Component
#add_behaviour, #behaviour, #has_behaviour?, #has_model?, #has_parent?, #parent, #path, #response_page=, #session, #webpage
Methods inherited from RenderableComponent
#on_render, #render_behaviours, #render_children, #render_component, #render_container, #render_to_element, #visible?
Constructor Details
#initialize ⇒ UniqueIdentifier
Returns a new instance of UniqueIdentifier.
55 56 57 |
# File 'lib/lapillus/behaviours.rb', line 55 def initialize super(:id) end |
Instance Method Details
#value ⇒ Object
58 59 60 |
# File 'lib/lapillus/behaviours.rb', line 58 def value parent.path end |