Class: Foobara::Callback::Registry::ChainedConditioned
- Inherits:
-
Conditioned
- Object
- Base
- Conditioned
- Foobara::Callback::Registry::ChainedConditioned
- Defined in:
- foobara-0.1.7/projects/callback/src/registry/chained_conditioned.rb
Instance Attribute Summary collapse
-
#other_conditions_registry ⇒ Object
Returns the value of attribute other_conditions_registry.
Attributes inherited from Conditioned
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(other_conditions_registry) ⇒ ChainedConditioned
constructor
A new instance of ChainedConditioned.
- #possible_condition_keys ⇒ Object
- #possible_conditions ⇒ Object
- #unioned_callback_set_for ⇒ Object
Methods inherited from Conditioned
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_conditions_registry) ⇒ ChainedConditioned
Returns a new instance of ChainedConditioned.
17 18 19 20 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_conditioned.rb', line 17 def initialize(other_conditions_registry) self.other_conditions_registry = other_conditions_registry super(possible_conditions) end |
Instance Attribute Details
#other_conditions_registry ⇒ Object
Returns the value of attribute other_conditions_registry.
7 8 9 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_conditioned.rb', line 7 def other_conditions_registry @other_conditions_registry end |
Instance Method Details
#possible_condition_keys ⇒ Object
13 14 15 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_conditioned.rb', line 13 def possible_condition_keys other_conditions_registry.possible_condition_keys end |
#possible_conditions ⇒ Object
9 10 11 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_conditioned.rb', line 9 def possible_conditions other_conditions_registry.possible_conditions end |
#unioned_callback_set_for ⇒ Object
22 23 24 |
# File 'foobara-0.1.7/projects/callback/src/registry/chained_conditioned.rb', line 22 def unioned_callback_set_for(...) super.union(other_conditions_registry.unioned_callback_set_for(...)) end |