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

Inherits:
SingletonMatcher show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/argument_matchers.rb

Instance Method Summary collapse

Methods inherited from SingletonMatcher

inherited

Instance Method Details

#===(value) ⇒ Object



168
169
170
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/argument_matchers.rb', line 168

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

#descriptionObject



172
173
174
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/lib/rspec/mocks/argument_matchers.rb', line 172

def description
  "boolean"
end