Class: GrapeBootstrap::Commands::AppInit

Inherits:
Base
  • Object
show all
Defined in:
lib/grape_bootstrap/commands/app_init.rb

Instance Attribute Summary

Attributes inherited from Base

#path

Instance Method Summary collapse

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, options=[]
  super path, options
  @dry = (options & ["--dry"]).length > 0

  setup_dirs
  setup_base_files
end