Sha256: ae9638cc523f12c5d68f00731f71a54e8b3a9bee887eedbf7ad771030160cbaf
Contents?: true
Size: 535 Bytes
Versions: 8
Compression:
Stored size: 535 Bytes
Contents
module Merit module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "Copy config and rules files" def copy_migrations_and_model template 'merit.rb', 'config/initializers/merit.rb' template 'merit_badge_rules.rb', 'app/models/merit_badge_rules.rb' template 'merit_point_rules.rb', 'app/models/merit_point_rules.rb' template 'merit_rank_rules.rb', 'app/models/merit_rank_rules.rb' end end end end
Version data entries
8 entries across 8 versions & 1 rubygems