Class: Treaty::Versions::Executor

Inherits:
Object
  • Object
show all
Defined in:
lib/treaty/versions/executor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executor, method) ⇒ Executor

Returns a new instance of Executor.



8
9
10
11
# File 'lib/treaty/versions/executor.rb', line 8

def initialize(executor, method)
  @executor = executor
  @method = method
end

Instance Attribute Details

#executorObject (readonly)

Returns the value of attribute executor.



6
7
8
# File 'lib/treaty/versions/executor.rb', line 6

def executor
  @executor
end

#methodObject (readonly)

Returns the value of attribute method.



6
7
8
# File 'lib/treaty/versions/executor.rb', line 6

def method
  @method
end