Class: ModelBase::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/model_base/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_filesObject



9
10
11
12
13
14
15
16
17
18
# File 'lib/generators/model_base/install_generator.rb', line 9

def generate_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',
  ].each{|f| template f, f }
end