Sha256: 36e47e8c877e26e3f51026d9771b1d42e6ee12e5fcde686c0b39799057172f68

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

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

    private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-rspec-1.9.1 lib/rubocop/rspec.rb
rubocop-rspec-1.9.0 lib/rubocop/rspec.rb