Sha256: 6204fad2c7cbcb918950a6f1521a459b320b619b13d7c44b009a3f465a61c4e8

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

require "rubocop/publicdoc2/version"

module RuboCop
  module Publicdoc2
    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

3 entries across 3 versions & 1 rubygems

Version Path
rubocop-publicdoc2-0.1.4 lib/rubocop/publicdoc2.rb
rubocop-publicdoc2-0.1.3 lib/rubocop/publicdoc2.rb
rubocop-publicdoc2-0.1.2 lib/rubocop/publicdoc2.rb