class Concurrent::ErlangActor::EnvironmentConstants::And
Combines matchers into one which matches if all match. @example
And[Numeric, -> v { v >= 0 }] === 1 # => true And[Numeric, -> v { v >= 0 }] === -1 # => false
Public Instance Methods
Source
# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 610 def ===(v) @matchers.all? { |m| m === v } end
@return [true, false]