class RamseyCopGenerator < Rails::Generators::Base source_root(File.expand_path(__dir__)) def create_rubcop_yml template "rscop.yml", ".rubocop.yml" end end