Sha256: 9eb9df7702bb7033b9ca3768f57a5702c5d1a68bf0134f0d20bb4d74615a299c
Contents?: true
Size: 703 Bytes
Versions: 26
Compression:
Stored size: 703 Bytes
Contents
Foobara.require_project_file("callback", "registry/conditioned") module Foobara module Callback module Registry class ChainedConditioned < Conditioned attr_accessor :other_conditions_registry class InvalidConditions < StandardError; end foobara_delegate :possible_conditions, :possible_condition_keys, to: :other_conditions_registry def initialize(other_conditions_registry) self.other_conditions_registry = other_conditions_registry super(possible_conditions) end def unioned_callback_set_for(...) super.union(other_conditions_registry.unioned_callback_set_for(...)) end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems