Class: Wallaby::Engine::InstallGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/wallaby/engine/install/install_generator.rb

Overview

‘wallaby:engine:install` generator

Instance Method Summary collapse

Instance Method Details

#installObject



35
36
37
38
39
40
41
# File 'lib/generators/wallaby/engine/install/install_generator.rb', line 35

def install
  mount_wallaby_to_given_name
  return if options[:mount_only]

  create_wallaby_initializer_file
  create_application_files
end