Class: RSpec::Mocks::ArgumentMatchers::BooleanMatcher
- Defined in:
- lib/rspec/mocks/argument_matchers.rb
Instance Method Summary collapse
- #==(value) ⇒ Object
-
#initialize(ignore) ⇒ BooleanMatcher
constructor
A new instance of BooleanMatcher.
Constructor Details
#initialize(ignore) ⇒ BooleanMatcher
Returns a new instance of BooleanMatcher.
45 46 |
# File 'lib/rspec/mocks/argument_matchers.rb', line 45 def initialize(ignore) end |
Instance Method Details
#==(value) ⇒ Object
48 49 50 |
# File 'lib/rspec/mocks/argument_matchers.rb', line 48 def ==(value) TrueClass === value || FalseClass === value end |