Class: BackRack::Runner

Inherits:
Thor
  • Object
show all
Defined in:
lib/backrack.rb

Instance Method Summary collapse

Instance Method Details

#new(*args) ⇒ Object



13
14
15
16
17
18
# File 'lib/backrack.rb', line 13

def new(*args)
  BackRack::NewApp.start args
  FileUtils.cd args[0]
  BackRack::Generate.new.invoke "view", ['root'], :body => "Congratulations, you're running Backrack."
  system 'bundle install'
end