Class: Controll::Executor::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/controll/executor/base.rb

Direct Known Subclasses

Flow::Master::Executor

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(controller, options = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/controll/executor/base.rb', line 6

def initialize controller, options = {}
  @controller = controller
  @options = options
end

Instance Attribute Details

#controllerObject

Returns the value of attribute controller.



4
5
6
# File 'lib/controll/executor/base.rb', line 4

def controller
  @controller
end

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/controll/executor/base.rb', line 4

def options
  @options
end