Class: RSpec::Mocks::ArgumentMatchers::BooleanMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/mocks/argument_matchers.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) ===(value)



152
153
154
# File 'lib/rspec/mocks/argument_matchers.rb', line 152

def ===(value)
  true == value || false == value
end

- (Object) description



156
157
158
# File 'lib/rspec/mocks/argument_matchers.rb', line 156

def description
  "boolean"
end