Class: Ecm::CmsCore::Generators::ModelsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/ecm/cms_core/models/models_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_modelsObject



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