class Boppers::Generator::App
Public Class Methods
source_root()
click to toggle source
# File lib/boppers/generator/app.rb, line 10 def self.source_root File.join(__dir__, "app") end
Public Instance Methods
copy_files()
click to toggle source
# File lib/boppers/generator/app.rb, line 14 def copy_files copy_file "gems.rb" copy_file "Procfile" copy_file "config/boppers.rb" copy_file ".gitgnore" copy_file ".env" end
run_commands()
click to toggle source
# File lib/boppers/generator/app.rb, line 22 def run_commands inside destination_root do run "git init" run "bundle install" end end