class method
self.new
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
self.new(old, new)
No documentation comment.
Parameters
-
oldreq -
newreq
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