class Supercop::Generators::ConfigGenerator

Public Instance Methods

copy_config_file() click to toggle source
# File lib/supercop/generators/config_generator.rb, line 8
def copy_config_file
  destination = 'config/supercop.yml'

  puts "=> Copy config file to #{destination}"

  copy_file 'supercop.yml', destination
end