Class: Lapillus::UniqueIdentifier
- Inherits:
-
AttributeModifier
- Object
- 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?, #on_render, #parent, #path, #render_component, #response_page=, #session, #visible?, #webpage
Constructor Details
#initialize ⇒ UniqueIdentifier
Returns a new instance of UniqueIdentifier.
40 41 42 |
# File 'lib/lapillus/behaviours.rb', line 40 def initialize super("id") end |
Instance Method Details
#value ⇒ Object
43 44 45 |
# File 'lib/lapillus/behaviours.rb', line 43 def value parent.path end |