class RSpec::Matchers::BuiltIn::Be
@api private Provides the implementation for ‘be`. Not intended to be instantiated directly.
Public Class Methods
# File rspec-expectations/lib/rspec/matchers/built_in/be.rb, line 104 def initialize(*args) @args = args end
Public Instance Methods
@api private @return [String]
# File rspec-expectations/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 rspec-expectations/lib/rspec/matchers/built_in/be.rb, line 116 def failure_message_when_negated "expected #{actual_formatted} to evaluate to false" end