class RSpec::Matchers::BuiltIn::Be

Not intended to be instantiated directly.
Provides the implementation for ‘be`.
@api private

def failure_message

Returns:
  • (String) -

Other tags:
    Api: - private
def failure_message
  "expected #{actual_formatted} to evaluate to true"
end

def failure_message_when_negated

Returns:
  • (String) -

Other tags:
    Api: - private
def failure_message_when_negated
  "expected #{actual_formatted} to evaluate to false"
end

def initialize(*args)

def initialize(*args)
  @args = args
end

def match(_, actual)

def match(_, actual)
  !!actual
end