# File lib/rbot/registry.rb, line 275
    def to_hash
      ret = Hash.new
      @registry.each {|key, value|
        ret[key] = restore(value)
      }
      return ret
    end