Class: MintReportGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/mint_report/mint_report_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_mint_report_fileObject



4
5
6
# File 'lib/generators/mint_report/mint_report_generator.rb', line 4

def copy_mint_report_file
  template "mint_report.rb", "app/models/reports/#{file_name}.rb"
end