# File lib/mail/elements/content_transfer_encoding_element.rb, line 7 7: def initialize( string ) 8: parser = Mail::ContentTransferEncodingParser.new 9: case 10: when string.blank? 11: @encoding = '' 12: when tree = parser.parse(string.to_s.downcase) 13: @encoding = tree.encoding.text_value 14: else 15: raise Mail::Field::ParseError, "ContentTransferEncodingElement can not parse |#{string}|\nReason was: #{parser.failure_reason}\n" 16: end 17: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.