def time_it
      puts "Running #{self.class}[#{self.status.arguments}](#{self.status.direction})"

      start = Time.now
      yield if block_given?
      end_time = Time.now - start
      
      puts "Tasks #{self.class} executed in #{end_time} seconds. \n\n"
      end_time
    end
def time_it
      puts "Running #{self.class}[#{self.status.arguments}](#{self.status.direction})"

      start = Time.now
      yield if block_given?
      end_time = Time.now - start
      
      puts "Tasks #{self.class} executed in #{end_time} seconds. \n\n"
      end_time
    end
Executes a block and returns the time it took to be executed