Class: Ecm::CmsCore::Generators::ModelsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Ecm::CmsCore::Generators::ModelsGenerator
- Defined in:
- lib/generators/ecm/cms_core/models/models_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_models ⇒ Object
9 10 11 12 |
# File 'lib/generators/ecm/cms_core/models/models_generator.rb', line 9 def generate_models copy_file "folder.rb", "app/models/folder.rb" copy_file "template.rb", "app/models/template.rb" end |