Class: EmbryoGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- EmbryoGenerator
- Defined in:
- lib/rails-embryo.rb
Instance Method Summary collapse
Instance Method Details
#install(force: false, bundle: false) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/rails-embryo.rb', line 10 def install(force: false, bundle: false) @force = force || .force? clean_files add_embryo_gem Embryo::RubyVersion.new(filesystem).install Embryo::TestSupport.new(filesystem).install Embryo::TemplateSupport.new(filesystem).install Embryo::DefaultView.new(filesystem).install filesystem.commit_changes update_bundle if bundle end |