require_relative('./environment.rb') class Pull < Array def initialize update end def update if(Environment.scm=='git') self.add "<%`git pull`%>" end end def add command self << command if(!include?(command)) end end