Method: TMail::MaildirPort#move_to_new

Defined in:
lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb

#move_to_newObject



248
249
250
251
252
# File 'lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb', line 248

def move_to_new
  new = replace_dir(@filename, 'new')
  File.rename @filename, new
  @filename = new
end