olds/easy-debian-init.rb
# Method to check the status of the commands
Method to check the status of the commands
Method to check the status of the commands
def check_status(check,message)
      if check
        puts "#{Tty.blue}#{message} #{Tty.blue}executed successfully! #{Tty.reset}"
      else
        puts "#{Tty.red}#{message} #{Tty.red}executed with errors! #{Tty.reset}"
      end
    end
def check_status ( check , message ) if check puts "#{Tty.blue}#{message} #{Tty.blue}executed successfully! #{Tty.reset}" else puts "#{Tty.red}#{message} #{Tty.red}executed with errors! #{Tty.reset}" end end
Method to check the status of the commands
Method to check the status of the commands
check
message