Exception: MatchAssay
- Defined in:
- lib/assay/match_assay.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Assertion
Constants included from Assay::Assertable
Class Method Summary collapse
-
.pass?(matcher, matchee) ⇒ Boolean
Check assertion for
#=~method.
Methods inherited from Assertion
by_name, by_operator, inherited, #initialize, name_index, operator_index, register, subclasses
Methods included from Assay::Assertable
#[], #assert!, #assert_message, #assertive_name, #assertor, #extract_options, #fail?, #operator, #pass?, #refute!, #refute_message, #standard_message
Methods inherited from Exception
#negative?, raised?, #set_negative
Constructor Details
This class inherits a constructor from Assertion
Class Method Details
.pass?(matcher, matchee) ⇒ Boolean
Check assertion for #=~ method.
13 14 15 |
# File 'lib/assay/match_assay.rb', line 13 def self.pass?(matcher, matchee) matcher =~ matchee end |