method
body_fld_param
v2_4_6 -
Show latest stable
- Class:
Net::IMAP::ResponseParser
body_fld_param()private
No documentation available.
# File lib/net/imap.rb, line 2578
def body_fld_param
token = lookahead
if token.symbol == T_NIL
shift_token
return nil
end
match(T_LPAR)
param = {}
while true
token = lookahead
case token.symbol
when T_RPAR
shift_token
break
when T_SPACE
shift_token
end
name = case_insensitive_string
match(T_SPACE)
val = string
param[name] = val
end
return param
end