Sha256: fc07aa259b4caf627d38e03b1ee1471067d5539ac962636185f3a2a39934c910
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true require_relative 'deprecation/instance_delegator' require_relative 'deprecation/reporting' require_relative 'deprecation/behavior' module R2OAS class Deprecation include Singleton # Be sure to follow the Singleton module include InstanceDelegator include Behavior include Reporting # The version number in which the deprecated behavior will be removed, by default. attr_accessor :deprecation_horizon 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
r2-oas-0.4.0 | lib/r2-oas/support/deprecation.rb |