method
stat
v2_5_5 -
Show latest stable
- Class:
Net::POP3Command
stat()public
No documentation available.
# File lib/net/pop.rb, line 934
def stat
res = check_response(critical { get_response('STAT') })
m = /\A\+OK\s+(\d+)\s+(\d+)/.match(res) or
raise POPBadResponse, "wrong response format: #{res}"
[m[1].to_i, m[2].to_i]
end