Class: Treaty::Versions::Executor
- Inherits:
-
Object
- Object
- Treaty::Versions::Executor
- Defined in:
- lib/treaty/versions/executor.rb
Instance Attribute Summary collapse
-
#executor ⇒ Object
readonly
Returns the value of attribute executor.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(executor, method) ⇒ Executor
constructor
A new instance of Executor.
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
#executor ⇒ Object (readonly)
Returns the value of attribute executor.
6 7 8 |
# File 'lib/treaty/versions/executor.rb', line 6 def executor @executor end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
6 7 8 |
# File 'lib/treaty/versions/executor.rb', line 6 def method @method end |