Class: Smuggle::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/smuggle/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_application_exporterObject



8
9
10
# File 'lib/generators/smuggle/install/install_generator.rb', line 8

def copy_application_exporter
  template "application_exporter.rb", "app/exporters/application_exporter.rb"
end

#copy_application_importerObject



12
13
14
# File 'lib/generators/smuggle/install/install_generator.rb', line 12

def copy_application_importer
  template "application_importer.rb", "app/importers/application_importer.rb"
end