# File lib/mail/elements/content_transfer_encoding_element.rb, line 6 def initialize( string ) parser = Mail::ContentTransferEncodingParser.new if tree = parser.parse(string.downcase) @encoding = tree.encoding.text_value else raise Mail::Field::ParseError, "ContentTransferEncodingElement can not parse |#{string}|\nReason was: #{parser.failure_reason}\n" end end
Generated with the Darkfish Rdoc Generator 2.