Module: Flows::SharedContextPipeline::DSL::Callbacks Private
- Includes:
- Util::InheritableSingletonVars::DupStrategy.make_module( '@before_all_callbacks' => [], '@after_all_callbacks' => [], '@before_each_callbacks' => [], '@after_each_callbacks' => [] )
- Included in:
- Flows::SharedContextPipeline::DSL
- Defined in:
- lib/flows/shared_context_pipeline/dsl/callbacks.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- SingletonVarsSetup =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Flows::Util::InheritableSingletonVars::DupStrategy.make_module( '@before_all_callbacks' => [], '@after_all_callbacks' => [], '@before_each_callbacks' => [], '@after_each_callbacks' => [] )
Instance Attribute Summary collapse
- #after_all_callbacks ⇒ Object readonly private
- #after_each_callbacks ⇒ Object readonly private
- #before_all_callbacks ⇒ Object readonly private
- #before_each_callbacks ⇒ Object readonly private
Instance Method Summary collapse
- #after_all(&callback) ⇒ Object private
- #after_each(&callback) ⇒ Object private
- #before_all(&callback) ⇒ Object private
- #before_each(&callback) ⇒ Object private
Instance Attribute Details
#after_all_callbacks ⇒ 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.
15 16 17 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 15 def after_all_callbacks @after_all_callbacks end |
#after_each_callbacks ⇒ 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.
15 16 17 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 15 def after_each_callbacks @after_each_callbacks end |
#before_all_callbacks ⇒ 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.
15 16 17 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 15 def before_all_callbacks @before_all_callbacks end |
#before_each_callbacks ⇒ 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.
15 16 17 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 15 def before_each_callbacks @before_each_callbacks end |
Instance Method Details
#after_all(&callback) ⇒ 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.
21 22 23 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 21 def after_all(&callback) after_all_callbacks << callback end |
#after_each(&callback) ⇒ 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.
29 30 31 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 29 def after_each(&callback) after_each_callbacks << callback end |
#before_all(&callback) ⇒ 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.
17 18 19 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 17 def before_all(&callback) before_all_callbacks << callback end |
#before_each(&callback) ⇒ 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.
25 26 27 |
# File 'lib/flows/shared_context_pipeline/dsl/callbacks.rb', line 25 def before_each(&callback) before_each_callbacks << callback end |