Class: Luo::CLI::InitApp

Inherits:
InitBase
  • Object
show all
Defined in:
lib/luo/cli/init_app.rb

Instance Method Summary collapse

Methods inherited from InitBase

#copy_agents, #copy_env, #copy_files, #copy_test_file, #create_dirtories, source_root

Instance Method Details

#copy_appObject



6
7
8
9
# File 'lib/luo/cli/init_app.rb', line 6

def copy_app
  say "Copying App...", :green
  copy_file "application.rb", "app.rb"
end

#copy_gemfileObject



11
12
13
14
# File 'lib/luo/cli/init_app.rb', line 11

def copy_gemfile
  say "Copying Gemfile...", :green
  template "AppGemfile.erb", "Gemfile"
end