module RSpec::Mocks::Deprecation

def deprecate(deprecated, options={})

Other tags:
    Private: -
def deprecate(deprecated, options={})
  message = "DEPRECATION: #{deprecated} is deprecated."
  message << " Use #{options[:replacement]} instead." if options[:replacement]
  message << " Called from #{CallerFilter.first_non_rspec_line}."
  warn message
end

def warn_deprecation(warning)

Other tags:
    Private: -
def warn_deprecation(warning)
  message = "\nDEPRECATION: #{warning}\n"
  warn message
end