Sha256: d98c01dbf65292a082f63622f7addbb5ec8801b4e893c0afa0171aa771fb5692

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

require "rubocop/inclusivity/version"

module RuboCop
  module Inclusivity
    class Error < StandardError; end
    # Your code goes here...
    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-inclusivity-1.1.0 lib/rubocop/inclusivity.rb
rubocop-inclusivity-1.0.0 lib/rubocop/inclusivity.rb