Class: Ector::Multi::Operation::Base
- Inherits:
-
Object
- Object
- Ector::Multi::Operation::Base
- Defined in:
- lib/ector-multi/operations.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #fail_fast? ⇒ Boolean
-
#initialize(name, block) ⇒ Base
constructor
A new instance of Base.
- #inspect ⇒ Object
- #run(results) ⇒ Object
Constructor Details
#initialize(name, block) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/ector-multi/operations.rb', line 9 def initialize(name, block) @name = name @block = block end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/ector-multi/operations.rb', line 7 def name @name end |