msg_att(n) 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 2215
      def msg_att(n)
        match(T_LPAR)
        attr = {}
        while true
          token = lookahead
          case token.symbol
          when T_RPAR
            shift_token
            break
          when T_SPACE
            shift_token
            next
          end
          case token.value
          when /\A(?:ENVELOPE)\z/i
            name, val = envelope_data
          when /\A(?:FLAGS)\z/i
            name, val = flags_data
          when /\A(?:INTERNALDATE)\z/i
            name, val = internaldate_data
          when /\A(?:RFC822(?:\.HEADER|\.TEXT)?)\z/i
            name, val = rfc822_text
          when /\A(?:RFC822\.SIZE)\z/i
            name, val = rfc822_size
          when /\A(?:BODY(?:STRUCTURE)?)\z/i
            name, val = body_data
          when /\A(?:UID)\z/i
            name, val = uid_data
          else
            parse_error("unknown attribute `%s' for {%d}", token.value, n)
          end
          attr[name] = val
        end
        return attr
      end
Register or log in to add new notes.