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
===(v)
click to toggle source
@return [true, false]
# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 606 def ===(v) @matchers.all? { |m| m === v } end