class RSpec::Mocks::AnyInstance::Chain
def constrained_to_any_of?(*constraints)
- Private: -
def constrained_to_any_of?(*constraints) constraints.any? do |constraint| messages.any? do |message| message.first.first == constraint end end end
def constrained_to_any_of?(*constraints) constraints.any? do |constraint| messages.any? do |message| message.first.first == constraint end end end