Class: RuboCop::Haml::ConfigLoader
- Inherits:
-
Object
- Object
- RuboCop::Haml::ConfigLoader
- Defined in:
- lib/rubocop/haml/config_loader.rb
Overview
Merge default RuboCop config with plugin config.
Constant Summary collapse
- PLUGIN_CONFIG_PATH =
::File.( '../../../config/default.yml', __dir__ )
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call ⇒ RuboCop::Config
16 17 18 |
# File 'lib/rubocop/haml/config_loader.rb', line 16 def call new.call end |
Instance Method Details
#call ⇒ RuboCop::Config
22 23 24 25 26 27 |
# File 'lib/rubocop/haml/config_loader.rb', line 22 def call RuboCop::ConfigLoader.merge_with_default( plugin_config, PLUGIN_CONFIG_PATH ) end |