Sha256: 97794834c8cf820f7ab65e9508f490d0ac472a1d6a11a568f45807e67cb20744

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

require "rubocop/rake/version"

module RuboCop
  module Rake
    class Error < StandardError; end

    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

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-rake-0.2.0 lib/rubocop/rake.rb
rubocop-rake-0.1.0 lib/rubocop/rake.rb