# File lib/rspec/mocks/matchers/receive.rb, line 5
        def initialize(message, block)
          @message                 = message
          @block                   = block
          @recorded_customizations = []

          # MRI, JRuby and RBX report the caller inconsistently; MRI
          # reports an extra "in `new'" line in the backtrace that the
          # others do not include. The safest way to find the right
          # line is to search for the first line BEFORE rspec/mocks/syntax.rb.
          @backtrace_line          = caller.find do |line|
            !line.split(':').first.end_with?('rspec/mocks/syntax.rb')
          end
        end