|
# File lib/rmail/parser/multipart.rb, line 35
def initialize(input, boundary)
super(input)
escaped = Regexp.escape(boundary)
@delimiter_re = /(?:\G|\n)--#{escaped}(--)?.*?(\n|\z)/
@might_be_delimiter_re = might_be_delimiter_re(boundary)
@caryover = nil
@chunks = []
@eof = false
@delimiter = nil
@delimiter_is_last = false
@in_epilogue = false
@in_preamble = true
end
|