method

new

rails latest stable - Class: Rails::DeprecatedConstant

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

new(old, new)
public

No documentation available.

# File railties/lib/rails/deprecation.rb, line 19
    def initialize(old, new)
      @old, @new = old, new
      @target = ::Kernel.eval "proc { #{@new} }"
      @warned = false
    end