module RSpec::Core::Warnings

def warn_with(message, options={})

Other tags:
    Private: -
def warn_with(message, options={})
  if options[:use_spec_location_as_call_site]
    message += "." unless message.end_with?(".")
    if RSpec.current_example
      message += " Warning generated from spec at `#{RSpec.current_example.location}`."
    end
  end
  super(message, options)
end