Class: TMail::MaildirPort
- Includes:
- MailFlags
- Defined in:
- lib/action_mailer/vendor/tmail/port.rb
Instance Attribute Summary
Attributes inherited from FilePort
Instance Method Summary collapse
Methods included from MailFlags
#flagged=, #flagged?, #replied=, #replied?, #seen=, #seen?
Methods inherited from FilePort
#==, #aopen, #copy_to, #hash, #initialize, #inspect, #move_to, #read_all, #remove, #reproducible?, #ropen, #size, #wopen
Methods inherited from Port
Constructor Details
This class inherits a constructor from TMail::FilePort
Instance Method Details
#move_to_cur ⇒ Object
252 253 254 255 256 |
# File 'lib/action_mailer/vendor/tmail/port.rb', line 252 def move_to_cur new = replace_dir(@filename, 'cur') File.rename @filename, new @filename = new end |
#move_to_new ⇒ Object
246 247 248 249 250 |
# File 'lib/action_mailer/vendor/tmail/port.rb', line 246 def move_to_new new = replace_dir(@filename, 'new') File.rename @filename, new @filename = new end |