Method: Brine::TypeChecking#type_check_for
- Defined in:
- lib/brine/type_checking.rb
permalink #type_check_for(type) ⇒ RSpec::Matcher
Return the Matcher for the specified type.
This is the primary interface for type_checking to the rest of the system, and is the only one expected to be used during test execution.
79 80 81 |
# File 'lib/brine/type_checking.rb', line 79 def type_check_for(type) type_checks.for_type(type) end |