class ActiveSupport::Deprecation::DeprecatedConstantProxy
:nodoc:all
def class
def class target.class end
def initialize(old_const, new_const)
def initialize(old_const, new_const) @old_const = old_const @new_const = new_const end
def target
def target ActiveSupport::Inflector.constantize(@new_const.to_s) end
def warn(callstack, called, args)
def warn(callstack, called, args) ActiveSupport::Deprecation.warn("#{@old_const} is deprecated! Use #{@new_const} instead.", callstack) end