Flowdock
method

deprecate

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: Rails::DeprecatedConstant
deprecate(old, new) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/deprecation.rb, line 14
    def self.deprecate(old, new)
      constant = self.new(old, new)
      eval "::#{old} = constant"
    end
Register or log in to add new notes.