Represents a group of paragraphs in the email sharing common attributes. Paragraphs should get their own fragment if they are a quoted area or a signature.
reversed, this array is backwards, and contains reversed strings.
reversed, this array is backwards, and contains reversed strings.
Builds the string content by joining the lines and reversing them.
Returns nothing.
# File lib/email_reply_parser.rb, line 262 def finish @content = @lines.join("\n") @lines = nil @content.reverse! end
# File lib/email_reply_parser.rb, line 272 def inspect to_s.inspect end
# File lib/email_reply_parser.rb, line 268 def to_s @content end
# File lib/email_reply_parser.rb, line 247 def initialize(quoted, first_line) self.signature = self.hidden = false self.quoted = quoted @lines = [first_line] @content = nil @lines.compact! end