Class: StyleGuide::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- StyleGuide::InstallGenerator
- Defined in:
- lib/generators/style_guide/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/generators/style_guide/install_generator.rb', line 6 def install should_bundle = ensure_rack_livereload.nil? should_bundle = ensure_guard_livereload.nil? || should_bundle bundle_command("install") if should_bundle configure_guard_livereload configure_application configure_development mount_style_guide end |