class RSpec::Matchers::BuiltIn::Compound::SequentialEvaluator
For value expectations, we can evaluate the matchers sequentially.
Public Class Methods
# File rspec-expectations/lib/rspec/matchers/built_in/compound.rb, line 136 def initialize(actual, *) @actual = actual end
Public Instance Methods
# File rspec-expectations/lib/rspec/matchers/built_in/compound.rb, line 140 def matcher_matches?(matcher) matcher.matches?(@actual) end