class R2OAS::Deprecation

Constants

DEFAULT_BEHAVIORS

Attributes

deprecation_horizon[RW]

The version number in which the deprecated behavior will be removed, by default.

Public Class Methods

new(deprecation_horizon = '0.4.2', gem_name = 'r2-oas') click to toggle source
# File lib/r2-oas/support/deprecation.rb, line 20
def initialize(deprecation_horizon = '0.4.2', gem_name = 'r2-oas')
  self.gem_name = gem_name
  self.deprecation_horizon = deprecation_horizon
  self.silenced = false
end