Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (16 sloc) 0.33 kb
08e6952 7rans initial import
trans authored
1 #
2 # parser test
3 #
4
5 require 'tmail'
6
7 puts "testing parser --------------------------------"
8 puts
9
10 TMail::Mail.load( 'data/normal' ).each_header do |key, field|
11 if field.respond_to? :parse, true then
12 field.instance_eval {
13 parse
14 @written = true
15 }
16 end
17 printf "%s ok\n", field.name
18 # puts field.decoded
19 end
Something went wrong with that request. Please try again.