Class: Foobara::Callback::Registry::ChainedMultipleAction
- Inherits:
-
MultipleAction
- Object
- Base
- MultipleAction
- Foobara::Callback::Registry::ChainedMultipleAction
- Defined in:
- foobara-0.1.7/projects/callback/src/registry/chained_multiple_action.rb
Defined Under Namespace
Classes: InvalidConditions
Instance Attribute Summary collapse
-
#other_multiple_actions_registry ⇒ Object
Returns the value of attribute other_multiple_actions_registry.
Attributes inherited from MultipleAction
Instance Method Summary collapse
- #allowed_types ⇒ Object
-
#initialize(other_multiple_actions_registry) ⇒ ChainedMultipleAction
constructor
A new instance of ChainedMultipleAction.
- #possible_actions ⇒ Object
- #unioned_callback_set_for ⇒ Object
Methods inherited from MultipleAction
#after, #around, #before, #error, #runner, #specific_callback_set_for
Methods inherited from Base
#after, #around, #before, #error, #has_after_callbacks?, #has_around_callbacks?, #has_before_callbacks?, #has_callbacks?, #has_error_callbacks?, #register_callback, #runner, #specific_callback_set_for
Constructor Details
#initialize(other_multiple_actions_registry) ⇒ ChainedMultipleAction
Returns a new instance of ChainedMultipleAction.
19 20 21 22 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_multiple_action.rb', line 19 def initialize(other_multiple_actions_registry) self.other_multiple_actions_registry = other_multiple_actions_registry super(possible_actions) end |
Instance Attribute Details
#other_multiple_actions_registry ⇒ Object
Returns the value of attribute other_multiple_actions_registry.
7 8 9 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_multiple_action.rb', line 7 def other_multiple_actions_registry @other_multiple_actions_registry end |
Instance Method Details
#allowed_types ⇒ Object
15 16 17 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_multiple_action.rb', line 15 def allowed_types other_multiple_actions_registry.allowed_types end |
#possible_actions ⇒ Object
11 12 13 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_multiple_action.rb', line 11 def possible_actions other_multiple_actions_registry.possible_actions end |
#unioned_callback_set_for ⇒ Object
24 25 26 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_multiple_action.rb', line 24 def unioned_callback_set_for(...) super.union(other_multiple_actions_registry.unioned_callback_set_for(...)) end |