Class: Concurrent::ErlangActor::EnvironmentConstants::And
- Inherits:
-
AbstractLogicOperationMatcher
- Object
- AbstractLogicOperationMatcher
- Concurrent::ErlangActor::EnvironmentConstants::And
- Defined in:
- lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb
Overview
Combines matchers into one which matches if all match.
Instance Method Summary collapse
Methods inherited from AbstractLogicOperationMatcher
Constructor Details
This class inherits a constructor from Concurrent::ErlangActor::EnvironmentConstants::AbstractLogicOperationMatcher
Instance Method Details
#===(v) ⇒ true, false
610 611 612 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 610 def ===(v) @matchers.all? { |m| m === v } end |