Class: Lilu::Action
- Inherits:
-
Object
- Object
- Lilu::Action
- Defined in:
- lib/lilu.rb
Instance Attribute Summary collapse
-
#element ⇒ Object
Returns the value of attribute element.
-
#renderer ⇒ Object
readonly
Returns the value of attribute renderer.
Instance Method Summary collapse
-
#initialize(element, renderer) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(element, renderer) ⇒ Action
Returns a new instance of Action.
52 53 54 55 |
# File 'lib/lilu.rb', line 52 def initialize(element,renderer) @element, @renderer = element, renderer renderer.action = self end |
Instance Attribute Details
#element ⇒ Object
Returns the value of attribute element.
50 51 52 |
# File 'lib/lilu.rb', line 50 def element @element end |
#renderer ⇒ Object (readonly)
Returns the value of attribute renderer.
51 52 53 |
# File 'lib/lilu.rb', line 51 def renderer @renderer end |