Method: TMail::MaildirPort#move_to_cur

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

#move_to_curObject



254
255
256
257
258
# File 'lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb', line 254

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