Class: Foobara::Callback::Registry::ChainedMultipleAction

Inherits:
MultipleAction show all
Defined in:
foobara-0.0.125/projects/callback/src/registry/chained_multiple_action.rb

Defined Under Namespace

Classes: InvalidConditions

Instance Attribute Summary collapse

Attributes inherited from MultipleAction

#callback_sets, #possible_actions

Attributes inherited from Base

#allowed_types

Instance Method Summary collapse

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.

[View source]

13
14
15
16
# File 'foobara-0.0.125/projects/callback/src/registry/chained_multiple_action.rb', line 13

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_registryObject

Returns the value of attribute other_multiple_actions_registry.


7
8
9
# File 'foobara-0.0.125/projects/callback/src/registry/chained_multiple_action.rb', line 7

def other_multiple_actions_registry
  @other_multiple_actions_registry
end

Instance Method Details

#unioned_callback_set_forObject

[View source]

18
19
20
# File 'foobara-0.0.125/projects/callback/src/registry/chained_multiple_action.rb', line 18

def unioned_callback_set_for(...)
  super.union(other_multiple_actions_registry.unioned_callback_set_for(...))
end