class ActiveSupport::Deprecation
def initialize(deprecation_horizon = '4.1', gem_name = 'Rails')
and the second is an library name
It accepts two parameters on initialization. The first is an version of library
def initialize(deprecation_horizon = '4.1', gem_name = 'Rails') self.gem_name = gem_name self.deprecation_horizon = deprecation_horizon # By default, warnings are not silenced and debugging is off. self.silenced = false self.debug = false end