lib/rspec/sleeping_king_studios/matchers/core/be_boolean_matcher.rb
# Checks if the object is true or false.
#
# @param [Object] actual The object to check.
#
# @return [Boolean] True if the object is true or false, otherwise false.
Checks if the object is true or false.
Checks if the object is true or false .
def matches? actual
      super
      true === actual || false === actual
    end
def matches? actual super true === actual || false === actual end
Checks if the object is true or false.
Checks if the object is true or false .
True if the object is true or false, otherwise false.
True if the object is true or false otherwise false .
Boolean
actual
<not_specific>
<not_specific>
actual The object to check.
actual The object to check .