Class: Flip::ModelGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/flip/model/model_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_feature_model_fileObject



4
5
6
# File 'lib/generators/flip/model/model_generator.rb', line 4

def copy_feature_model_file
  copy_file "feature.rb", "app/models/feature.rb"
end