Flowdock
response_untagged() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/imap.rb, line 2062
      def response_untagged
        match(T_STAR)
        match(T_SPACE)
        token = lookahead
        if token.symbol == T_NUMBER
          return numeric_response
        elsif token.symbol == T_ATOM
          case token.value
          when /\A(?:OK|NO|BAD|BYE|PREAUTH)\z/i
            return response_cond
          when /\A(?:FLAGS)\z/i
            return flags_response
          when /\A(?:LIST|LSUB)\z/i
            return list_response
          when /\A(?:QUOTA)\z/i
            return getquota_response
          when /\A(?:QUOTAROOT)\z/i
            return getquotaroot_response
          when /\A(?:ACL)\z/i
            return getacl_response
          when /\A(?:SEARCH|SORT)\z/i
            return search_response
          when /\A(?:THREAD)\z/i
            return thread_response
          when /\A(?:STATUS)\z/i
            return status_response
          when /\A(?:CAPABILITY)\z/i
            return capability_response
          else
            return text_response
          end
        else
          parse_error("unexpected token %s", token.symbol)
        end
      end
Register or log in to add new notes.