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.
14 15 16 17 |
# File 'lib/lilu.rb', line 14 def initialize(element,renderer) @element, @renderer = element, renderer renderer.action = self end |
Instance Attribute Details
#element ⇒ Object
Returns the value of attribute element.
12 13 14 |
# File 'lib/lilu.rb', line 12 def element @element end |
#renderer ⇒ Object (readonly)
Returns the value of attribute renderer.
13 14 15 |
# File 'lib/lilu.rb', line 13 def renderer @renderer end |