Sha256: 3815dfc9cde8d236842ec534fd717efe347b8db6831ed2ef5b708cf6a4608f5a
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true require 'yaml' require_relative 'oracle/version' module RuboCop # RuboCop Oralce project namespace module Oracle 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-oracle-0.2.0 | lib/rubocop/oracle.rb |
rubocop-oracle-0.1.0 | lib/rubocop/oracle.rb |