module Dry::Core::Deprecations

def deprecated_name_message(old, new = nil, msg = nil)

Other tags:
    Api: - private
def deprecated_name_message(old, new = nil, msg = nil)
  if new
    deprecation_message(old, <<-MSG)
      Please use #{new} instead.
      #{msg}
    MSG
  else
    deprecation_message(old, msg)
  end
end