class CommandArray < Array def update end def add command self << command if(!include?(command)) end end