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