Sha256: aa89b7879d1e4b656e4f2a13e992e26bfa51b608001635e3bf6e40849a1e3b00
Contents?: true
Size: 329 Bytes
Versions: 13
Compression:
Stored size: 329 Bytes
Contents
module Importo class ImporterGenerator < Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) def copy_initializer_file template "application_importer.rb", "app/importers/application_importer.rb" template "importer.rb", "app/importers/#{file_name}_importer.rb" end end end
Version data entries
13 entries across 13 versions & 1 rubygems