Class: CC::CLI::UpgradeConfigGenerator

Inherits:
ConfigGenerator show all
Defined in:
lib/cc/cli/upgrade_config_generator.rb

Constant Summary

Constants inherited from ConfigGenerator

ConfigGenerator::AUTO_EXCLUDE_PATHS, ConfigGenerator::CODECLIMATE_YAML

Instance Method Summary collapse

Methods inherited from ConfigGenerator

#eligible_engines, for, #initialize, upgrade_needed?

Constructor Details

This class inherits a constructor from CC::CLI::ConfigGenerator

Instance Method Details

#exclude_pathsObject



6
7
8
# File 'lib/cc/cli/upgrade_config_generator.rb', line 6

def exclude_paths
  existing_yaml["exclude_paths"] || []
end

#post_generation_verbObject



10
11
12
# File 'lib/cc/cli/upgrade_config_generator.rb', line 10

def post_generation_verb
  "upgraded"
end