method
new
v4.0.2 -
Show latest stable
- Class:
ActiveSupport::Deprecation
new(deprecation_horizon = '4.1', gem_name = 'Rails')public
It accepts two parameters on initialization. The first is an version of library and the second is an library name
ActiveSupport::Deprecation.new('2.0', 'MyLibrary')