Sha256: e42df048c4f7fb1cc0f0e75929bb51a537329a0b51bd3a17f3265a14b6e50f6b

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

require "rubocop/livelo/version"

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

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-livelo-0.5.3 lib/rubocop/livelo.rb