Sha256: b7f54861af3fdd6acece685cb21eac151db9401e5288f6168775ab5fe982fa01
Contents?: true
Size: 518 Bytes
Versions: 1
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true module MrCommon class CsvGenerator < Rails::Generators::Base source_root File.expand_path(MrCommon::Engine.root) def copy_skeleton_views template_paths.each do |file| copy_file file, file end end private def template_paths %w( app/controllers/mr_common/registrations/export_controller.rb app/models/mr_common/csv_renderer.rb app/models/mr_common/registration_decorator.rb ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mr_common-2.1.0 | lib/generators/mr_common/csv/csv_generator.rb |