Sha256: fe6e5d8a8f93d36db53e034fa8fc9cc0a86f62e46362d14808b2ef1eead76930
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
# encoding: utf-8 module RuboCop module Mirego module Inject DEFAULT_FILE = File.expand_path('../../../../config/default.yml', __FILE__).freeze def self.defaults! path = File.absolute_path(DEFAULT_FILE) hash = ConfigLoader.send(:load_yaml_configuration, path) config = Config.new(hash, path) config = ConfigLoader.merge_with_default(config, path) ConfigLoader.instance_variable_set(:@default_configuration, config) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubocop-mirego-0.1 | lib/rubocop/mirego/inject.rb |
rubocop-mirego-0.0.4 | lib/rubocop/mirego/inject.rb |
rubocop-mirego-0.0.3 | lib/rubocop/mirego/inject.rb |