Class: ModelBase::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ModelBase::InstallGenerator
- Defined in:
- lib/generators/model_base/install_generator.rb
Constant Summary collapse
- FILES =
[ 'app/controllers/concerns/authentication.rb', 'spec/factories/users.rb', 'spec/support/controller_macros.rb', 'spec/support/devise.rb', 'spec/support/field_assertions.rb', 'spec/support/time_match_support.rb', ].freeze
Instance Method Summary collapse
Instance Method Details
#generate_files ⇒ Object
18 19 20 |
# File 'lib/generators/model_base/install_generator.rb', line 18 def generate_files FILES.each{|f| template f, f } end |