Sha256: b3063f7aee715b63415220d6ad858bc61f9e398493762d79099f22f7cdd82e33

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module Redwood

class ResumeMode < ComposeMode
  def initialize m
    super()
    @id = m.id
    @header, @body = parse_file m.draft_filename
    @header.delete "Date"
    @header["Message-Id"] = gen_message_id # generate a new'n
    regen_text
  end

  def send_message
    DraftManager.discard @id if super
  end
end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sup-0.0.1 lib/sup/modes/resume-mode.rb