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.



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

#elementObject

Returns the value of attribute element.



50
51
52
# File 'lib/lilu.rb', line 50

def element
  @element
end

#rendererObject (readonly)

Returns the value of attribute renderer.



51
52
53
# File 'lib/lilu.rb', line 51

def renderer
  @renderer
end