Class: RSpec::Mocks::ArgumentMatchers::BooleanMatcher
- Inherits:
 - 
      Object
        
- Object
 - RSpec::Mocks::ArgumentMatchers::BooleanMatcher
 
 - Defined in:
 - lib/rspec/mocks/argument_matchers.rb
 
Instance Method Summary (collapse)
- - (Object) ==(value)
 - 
  
      - (BooleanMatcher) initialize(ignore) 
  
    constructor
    
A new instance of BooleanMatcher.
 
Constructor Details
- (BooleanMatcher) initialize(ignore)
A new instance of BooleanMatcher
      46 47  | 
    
      # File 'lib/rspec/mocks/argument_matchers.rb', line 46 def initialize(ignore) end  | 
  
Instance Method Details
- (Object) ==(value)
      49 50 51  | 
    
      # File 'lib/rspec/mocks/argument_matchers.rb', line 49 def ==(value) [true,false].include?(value) end  |