module Utilise::Augment::Matchers

Extends classes that could be queried as a boolean

Public Instance Methods

bool?() click to toggle source
# File lib/utilise/augment/matchers.rb, line 5
def bool?
  is_a?(TrueClass) || is_a?(FalseClass)
end
Also aliased as: is_bool?
is_bool?()

NOTE: This keeps backwards compatibility

Alias for: bool?