Class: Smuggle::Generators::ImporterGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Smuggle::Generators::ImporterGenerator
- Defined in:
- lib/generators/smuggle/importer/importer_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_importer ⇒ Object
10 11 12 |
# File 'lib/generators/smuggle/importer/importer_generator.rb', line 10 def create_importer template "importer.rb", File.join("app/importers", class_path, "#{file_name}_importer.rb") end |