Class: RSpec::SleepingKingStudios::Configuration::Matchers
- Inherits:
-
Object
- Object
- RSpec::SleepingKingStudios::Configuration::Matchers
- Defined in:
- lib/rspec/sleeping_king_studios/configuration.rb
Overview
Configuration options for RSpec::SleepingKingStudios::Matchers.
Instance Method Summary collapse
-
#strict_predicate_matching ⇒ Boolean
Checks whether predicates are matched “strictly”, meaning that they must return either true or false.
-
#strict_predicate_matching=(value) ⇒ Object
Sets whether predicates are matched “strictly”, meaning that they must return either true or false.
Instance Method Details
#strict_predicate_matching ⇒ Boolean
Checks whether predicates are matched “strictly”, meaning that they must return either true or false.
77 78 79 |
# File 'lib/rspec/sleeping_king_studios/configuration.rb', line 77 def strict_predicate_matching @strict_predicate_matching ||= false end |
#strict_predicate_matching=(value) ⇒ Object
Sets whether predicates are matched “strictly”, meaning that they must return either true or false.
85 86 87 |
# File 'lib/rspec/sleeping_king_studios/configuration.rb', line 85 def strict_predicate_matching= value @strict_predicate_matching = !!value end |