lib/rimless/rspec/matchers.rb
def failure_message
          result = ["expected to send #{base_message}"]

          if @unmatching.any?
            result << "\nSent messages:"
            @unmatching.each do |message|
              result << "\n  #{base_message_detail(message)}"
            end
          end

          result.join
        end
# Serve the RSpec API and return the positive failure message.
#
# @return [String] the message to display
Serve the RSpec API and return the positive failure message.
Serve the RSpec API and return the positive failure message .
def failure_message
          result = ["expected to send #{base_message}"]
          if @unmatching.any?
            result << "\nSent messages:"
            @unmatching.each do |message|
              result << "\n  #{base_message_detail(message)}"
            end
          end
          result.join
        end
def failure_message result = [ "expected to send #{base_message}" ] if @unmatching . any? result << "\nSent messages:" @unmatching . each do | message | result << "\n  #{base_message_detail(message)}" end end result . join end
Serve the RSpec API and return the positive failure message.
Serve the RSpec API and return the positive failure message .
the message to display
the message to display
String