module BinInstall
Constants
- VERSION
Public Class Methods
finish()
click to toggle source
# File lib/bin_install.rb, line 27 def self.finish puts "Finished bin_install #{VERSION}.".green puts 'Warning you may need to reload your shell.'.yellow end
start()
click to toggle source
# File lib/bin_install.rb, line 21 def self.start puts "Starting bin_install #{VERSION}...".white puts 'Your current PATH is set to: ' system('echo $PATH') end
system!(*args)
click to toggle source
# File lib/bin_install.rb, line 32 def self.system!(*args) system(*args) || abort("Command #{args} failed!".red) end
Public Instance Methods
app_name()
click to toggle source
# File lib/bin_install.rb, line 36 def app_name File.basename(Dir.pwd) end