# File lib/god/watch.rb, line 117
    def move(to_state)
      puts "move '#{self.state}' to '#{to_state}'"
       
      # cleanup from current state
      if from_state = self.state
        self.metrics[from_state].each { |m| m.disable }
      end
      
      # perform action (if available)
      self.action(to_state)
      
      # move to new state
      self.metrics[to_state].each { |m| m.enable }
      
      # set state
      self.state = to_state
    end