Sha256: 74454f6a0b3f38aa36f04645a27b2e3c4a2f86021bd6881dae59799c664c224b

Contents?: true

Size: 362 Bytes

Versions: 5

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  # RuboCop Faker project namespace
  module Faker
    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

5 entries across 5 versions & 1 rubygems

Version Path
rubocop-faker-1.2.0 lib/rubocop/faker.rb
rubocop-faker-1.1.0 lib/rubocop/faker.rb
rubocop-faker-1.0.0 lib/rubocop/faker.rb
rubocop-faker-0.2.0 lib/rubocop/faker.rb
rubocop-faker-0.1.0 lib/rubocop/faker.rb