# Brett Bates require 'P4' class GTDAlarm attr_accessor :comm_list, :gtd def initialize(comm_list, gtd) @comm_list = comm_list @gtd = gtd end def command_switch case @comm_list[1].downcase when "list" #List all alarms when "sort" #Sort the list when "add" #Add an alarm when "delete" #Delete alarm end return comm end def run bool, msg = command_switch return bool, msg end end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 7905 | Brett Bates | edit | ||
#2 | 7892 | Brett Bates | Some changes to gtd and made pss more os friendly | ||
#1 | 7891 | Brett Bates | add |