Sha256: 0a33591fdf2f201aaa8a9aae587a37d31288fb3d218e408f200d32bc53a8751d

Contents?: true

Size: 464 Bytes

Versions: 5

Compression:

Stored size: 464 Bytes

Contents

# frozen_string_literal: true
module ASDeprecationTracker
  # Maintains configuration for one instance (usually global)
  class Configuration
    attr_accessor :envs, :line_tolerance, :register_behavior, :whitelist_file
    alias register_behavior? register_behavior

    def initialize
      @envs = %w(test)
      @line_tolerance = 10
      @register_behavior = true
      @whitelist_file = File.join('config', 'as_deprecation_whitelist.yaml')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
as_deprecation_tracker-1.4.1 lib/as_deprecation_tracker/configuration.rb
as_deprecation_tracker-1.4.0 lib/as_deprecation_tracker/configuration.rb
as_deprecation_tracker-1.3.0 lib/as_deprecation_tracker/configuration.rb
as_deprecation_tracker-1.2.0 lib/as_deprecation_tracker/configuration.rb
as_deprecation_tracker-1.1.0 lib/as_deprecation_tracker/configuration.rb