class RSpec::Matchers::BuiltIn::Compound::Or
@api public Matcher used to represent a compound ‘or` expectation.
Public Instance Methods
Source
# File lib/rspec/matchers/built_in/compound.rb, line 275 def failure_message compound_failure_message end
@api private @return [String]
Private Instance Methods
Source
# File lib/rspec/matchers/built_in/compound.rb, line 286 def conjunction "or" end
Source
# File lib/rspec/matchers/built_in/compound.rb, line 281 def match(*) super matcher_1_matches? || matcher_2_matches? end
Calls superclass method