Class: Wallaby::InstallGenerator

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

Overview

`wallaby:install` generator

Instance Method Summary collapse

Instance Method Details

#installObject


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

def install
  mount_wallaby_to_given_name
  return if options[:mount_only]

  create_wallaby_initializer_file
  create_application_files
end