method
flag_list
flag_list()
private
Hide source
# File lib/net/imap.rb, line 3116 def flag_list if @str.index(/\(([^)]*)\)/i, @pos) @pos = $~.end(0) return $1.scan(FLAG_REGEXP).collect { |flag, atom| if atom atom else symbol = flag.capitalize.untaint.intern @flag_symbols[symbol] = true if @flag_symbols.length > IMAP.max_flag_count raise FlagCountError, "number of flag symbols exceeded" end symbol end } else parse_error("invalid flag list") end end