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
233 234 235 236 237 |
# File 'lib/action_mailer/vendor/tmail/port.rb', line 233 def move_to_cur new = replace_dir(@filename, 'cur') File.rename @filename, new @filename = new end |
#move_to_new ⇒ Object
227 228 229 230 231 |
# File 'lib/action_mailer/vendor/tmail/port.rb', line 227 def move_to_new new = replace_dir(@filename, 'new') File.rename @filename, new @filename = new end |