instance method parse

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

parse()

No documentation comment.

Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb, line 219
    def parse
      save = nil

      begin
        parse_init
        do_parse
      rescue SyntaxError
        if not save and mime_encoded? @body
          save = @body
          @body = Decoder.decode(save)
          retry
        elsif save
          @body = save
        end

        @illegal = true
        raise if @config.strict_parse?
      end
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb line 219 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::StructuredHeader

Type at least 2 characters to search.

↑↓ navigate · open · esc close