Sha256: a0555bcbb9b586d0829dbe02b995df35f7c09788bba96e6cb984d55ed703ce27
Contents?: true
Size: 213 Bytes
Versions: 20
Compression:
Stored size: 213 Bytes
Contents
class MotionPrime::ModelGenerator < MotionPrime::Generator def generate(name) @name = name.downcase.singularize @class_name = "#{name.camelize}" template 'model.rb', "app/models/#{name}.rb" end end
Version data entries
20 entries across 20 versions & 1 rubygems