Sha256: 6668c5a7378c29dec68c1a1b5fedf6ceb907b2e81b76896e7b26c83b91f92561

Contents?: true

Size: 733 Bytes

Versions: 26

Compression:

Stored size: 733 Bytes

Contents

Foobara.require_project_file("callback", "registry/multiple_action")

module Foobara
  module Callback
    module Registry
      class ChainedMultipleAction < MultipleAction
        attr_accessor :other_multiple_actions_registry

        class InvalidConditions < StandardError; end

        foobara_delegate :possible_actions, :allowed_types, to: :other_multiple_actions_registry

        def initialize(other_multiple_actions_registry)
          self.other_multiple_actions_registry = other_multiple_actions_registry
          super(possible_actions)
        end

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
foobara-0.0.26 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.25 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.24 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.23 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.22 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.21 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.20 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.19 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.18 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.17 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.16 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.15 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.14 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.13 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.12 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.11 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.10 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.9 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.8 projects/callback/src/registry/chained_multiple_action.rb
foobara-0.0.7 projects/callback/src/registry/chained_multiple_action.rb