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