method
response
ruby latest stable - Class:
Net::IMAP::ResponseParser
response()private
No documentation available.
# File lib/net/imap.rb, line 2246
def response
token = lookahead
case token.symbol
when T_PLUS
result = continue_req
when T_STAR
result = response_untagged
else
result = response_tagged
end
while lookahead.symbol == T_SPACE
# Ignore trailing space for Microsoft Exchange Server
shift_token
end
match(T_CRLF)
match(T_EOF)
return result
end