Sha256: ea6463dbaa469849b4d70f07348a17e76fd9bbf994c7cd5573840562a419c9c7
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true module MrCommon class ModelsGenerator < 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/models/mr_common/registration.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/models/models_generator.rb |