Class: Para::ImporterGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Para::ImporterGenerator
- Defined in:
- lib/generators/para/importer/importer_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_resource_importer ⇒ Object
7 8 9 10 11 12 |
# File 'lib/generators/para/importer/importer_generator.rb', line 7 def copy_resource_importer template( "base_importer.rb", "app/importers/#{ plural_file_name }_importer.rb" ) end |