method
deprecate
v3.0.9 -
Show latest stable
- Class:
Rails::DeprecatedConstant
deprecate(old, new)public
No documentation available.
# File railties/lib/rails/deprecation.rb, line 14
def self.deprecate(old, new)
constant = self.new(old, new)
eval "::#{old} = constant"
end