Sha256: 5d6b2037ac7bc26323d8d9d972ac6efe1637901bf0d94288b7a5de495dda983e

Contents?: true

Size: 374 Bytes

Versions: 21

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  # RuboCop Performance project namespace
  module Performance
    PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze
    CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze
    CONFIG = YAML.safe_load(CONFIG_DEFAULT.read).freeze

    private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rubocop-performance-1.10.2 lib/rubocop/performance.rb
rubocop-performance-1.10.1 lib/rubocop/performance.rb
rubocop-performance-1.10.0 lib/rubocop/performance.rb
rubocop-performance-1.9.2 lib/rubocop/performance.rb
rubocop-performance-1.9.1 lib/rubocop/performance.rb
rubocop-performance-1.9.0 lib/rubocop/performance.rb
rubocop-performance-1.8.1 lib/rubocop/performance.rb
rubocop-performance-1.8.0 lib/rubocop/performance.rb
rubocop-performance-1.7.1 lib/rubocop/performance.rb
rubocop-performance-1.7.0 lib/rubocop/performance.rb
rubocop-performance-1.6.1 lib/rubocop/performance.rb
rubocop-performance-1.6.0 lib/rubocop/performance.rb
rubocop-performance-1.5.2 lib/rubocop/performance.rb
rubocop-performance-1.5.1 lib/rubocop/performance.rb
rubocop-performance-1.5.0 lib/rubocop/performance.rb
rubocop-performance-1.4.1 lib/rubocop/performance.rb
rubocop-performance-1.4.0 lib/rubocop/performance.rb
rubocop-performance-1.3.0 lib/rubocop/performance.rb
rubocop-performance-1.2.0 lib/rubocop/performance.rb
rubocop-performance-1.1.0 lib/rubocop/performance.rb