Class: Ripple::Generators::ModelGenerator

Inherits:
NamedBase
  • Object
show all
Defined in:
lib/rails/generators/ripple/model/model_generator.rb

Instance Method Summary collapse

Methods inherited from NamedBase

source_root

Instance Method Details

#create_model_fileObject



13
14
15
# File 'lib/rails/generators/ripple/model/model_generator.rb', line 13

def create_model_file
  template 'model.rb.erb', "app/models/#{file_path}.rb"
end