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