module EventMachine::IMAP::Connection::TagSequence
Provides a next_tag! method to generate unique tags for an IMAP
session.
Public Instance Methods
next_tag!()
click to toggle source
# File lib/em-imap/connection.rb, line 174 def next_tag! @tagno += 1 "%s%04d" % [@tag_prefix, @tagno] end
post_init()
click to toggle source
Calls superclass method
# File lib/em-imap/connection.rb, line 167 def post_init super # Copying Net::IMAP @tag_prefix = "RUBY" @tagno = 0 end