class Mail::UnstructuredField
def wrap_lines(name, folded_lines)
without having to separate 'encoded-word's where spaces occur in the
multiple 'encoded-word's to represent long strings of unencoded text,
adjacent 'encoded-word's is ignored. (This is to allow the use of
'encoded-word's, any 'linear-white-space' that separates a pair of
When displaying a particular header field that contains multiple
6.2. Display of 'encoded-word's
def wrap_lines(name, folded_lines) result = ["#{name}: #{folded_lines.shift}"] result.concat(folded_lines) result.join("\r\n\s") end