Class: GrapeBootstrap::Commands::AppInit
- Defined in:
- lib/grape_bootstrap/commands/app_init.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(path, options = []) ⇒ AppInit
constructor
A new instance of AppInit.
Constructor Details
#initialize(path, options = []) ⇒ AppInit
8 9 10 11 12 13 14 |
# File 'lib/grape_bootstrap/commands/app_init.rb', line 8 def initialize path, =[] super path, @dry = ( & ["--dry"]).length > 0 setup_dirs setup_base_files end |