Sha256: bf87ea8afa2881dd8a36281f65d856c7b448a1d8948cb46f63150ada6e526c2f

Contents?: true

Size: 407 Bytes

Versions: 7

Compression:

Stored size: 407 Bytes

Contents

require "rubocop/rubycw/version"

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

7 entries across 7 versions & 1 rubygems

Version Path
rubocop-rubycw-0.1.6 lib/rubocop/rubycw.rb
rubocop-rubycw-0.1.5 lib/rubocop/rubycw.rb
rubocop-rubycw-0.1.4 lib/rubocop/rubycw.rb
rubocop-rubycw-0.1.3 lib/rubocop/rubycw.rb
rubocop-rubycw-0.1.2 lib/rubocop/rubycw.rb
rubocop-rubycw-0.1.1 lib/rubocop/rubycw.rb
rubocop-rubycw-0.1.0 lib/rubocop/rubycw.rb