@api private Provides the implementation for `be`. Not intended to be instantiated directly.
# File lib/rspec/matchers/built_in/be.rb, line 104 def initialize(*args) @args = args end
@api private @return [String]
# File lib/rspec/matchers/built_in/be.rb, line 110 def failure_message "expected #{actual_formatted} to evaluate to true" end
@api private @return [String]
# File lib/rspec/matchers/built_in/be.rb, line 116 def failure_message_when_negated "expected #{actual_formatted} to evaluate to false" end
# File lib/rspec/matchers/built_in/be.rb, line 128 def match(_, actual) !!actual end