instance method
do_parse
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
do_parse()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb, line 469
def do_parse
str = @body
while m = MESSAGE_ID.match(str)
pre = m.pre_match.strip
@refs.push pre unless pre.empty?
@refs.push s = m[0]
@ids.push s
str = m.post_match
end
str = str.strip
@refs.push str unless str.empty?
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb line 469
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::ReferencesHeader