class UICov::Command

Constants

COMMAND_PREFIX

Public Instance Methods

do_job(args) click to toggle source
# File lib/uicov/commands/command.rb, line 8
def do_job(args)
  Log.fatal "Method #{__method__} is not overridden in class #{self.class.name}"
end
usage(err_msg='', cmd_usage_info='') click to toggle source
# File lib/uicov/commands/command.rb, line 12
def usage(err_msg='', cmd_usage_info='')
  msg = %Q^
    \rERROR: #{err_msg}\n
    \rUsage:
    \r\t#{COMMAND_PREFIX} #{cmd_usage_info} 
  ^

  Log.fatal msg
end