Module: Stationed::Generators::Plugins::Rubocop
- Included in:
- AppGenerator
- Defined in:
- lib/stationed/generators/plugins/rubocop.rb
Instance Method Summary collapse
Instance Method Details
#finish_template ⇒ Object
5 6 7 8 9 10 |
# File 'lib/stationed/generators/plugins/rubocop.rb', line 5 def finish_template gem 'rubocop', group: :development copy_file 'rubocop.rake', 'lib/tasks/rubocop.rake' copy_file 'rubocop.yml', '.rubocop.yml' super end |