Class: ContactForm::Generators::ModelsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_modelsObject



12
13
14
# File 'lib/generators/contact_form/models/models_generator.rb', line 12

def copy_models
  directory "models", "app/models"
end