class Rails::DeprecatedConstant
def initialize(old, new)
def initialize(old, new) @old, @new = old, new @target = ::Kernel.eval "proc { #{@new} }" @warned = false end
def initialize(old, new) @old, @new = old, new @target = ::Kernel.eval "proc { #{@new} }" @warned = false end