Class: CircleCI::Parallel::Task::Base Private
- Inherits:
-
Object
- Object
- CircleCI::Parallel::Task::Base
- Defined in:
- lib/circleci/parallel/task/base.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #configuration ⇒ Object readonly private
- #node ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(node, configuration) ⇒ Base
constructor
private
A new instance of Base.
- #run ⇒ Object private
Constructor Details
#initialize(node, configuration) ⇒ Base
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/circleci/parallel/task/base.rb', line 10 def initialize(node, configuration) @node = node @configuration = configuration end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/circleci/parallel/task/base.rb', line 8 def configuration @configuration end |
#node ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/circleci/parallel/task/base.rb', line 8 def node @node end |
Instance Method Details
#run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/circleci/parallel/task/base.rb', line 15 def run raise NotImplementedError end |