class method self.new

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

self.new(old, new)

No documentation comment.

Parameters

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

Defined in railties/lib/rails/deprecation.rb line 19 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::DeprecatedConstant

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close