Class: Lilu::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/lilu.rb

Direct Known Subclasses

Populate, Remove, Replace, Update, Use

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#elementObject

Returns the value of attribute element.



12
13
14
# File 'lib/lilu.rb', line 12

def element
  @element
end

#rendererObject (readonly)

Returns the value of attribute renderer.



13
14
15
# File 'lib/lilu.rb', line 13

def renderer
  @renderer
end