Class: Standard::CreatesConfigStore::AssignsRubocopYaml

Inherits:
Object
  • Object
show all
Defined in:
lib/standard/creates_config_store/assigns_rubocop_yaml.rb

Instance Method Summary collapse

Instance Method Details

#call(config_store, standard_config) ⇒ Object



5
6
7
8
# File 'lib/standard/creates_config_store/assigns_rubocop_yaml.rb', line 5

def call(config_store, standard_config)
  config_store.options_config = Pathname.new(__dir__).join("../../../config/default.yml")
  config_store.instance_variable_get(:@options_config)
end