Class: Gimme::Matchers::Boolean

Inherits:
Matcher
  • Object
show all
Defined in:
lib/gimme/matchers.rb

Instance Method Summary collapse

Instance Method Details

#matches?(arg) ⇒ Boolean

Returns:



50
51
52
# File 'lib/gimme/matchers.rb', line 50

def matches?(arg)
  arg.kind_of?(TrueClass) || arg.kind_of?(FalseClass)
end