Class: Vigiles::Generators::InstallGenerator

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

Constant Summary collapse

SUB_GENERATORS =
Set.new(
  %w[
    vigiles:initializer
    vigiles:migration
  ]
).freeze

Instance Method Summary collapse

Instance Method Details

#install_vigilesObject



18
19
20
21
22
# File 'lib/generators/vigiles/install_generator.rb', line 18

def install_vigiles
  SUB_GENERATORS.each do |generator_task|
    invoke generator_task
  end
end