body_type_1part() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/imap.rb, line 2500
      def body_type_1part
        token = lookahead
        case token.value
        when /\A(?:TEXT)\z/i
          return body_type_text
        when /\A(?:MESSAGE)\z/i
          return body_type_msg
        when /\A(?:ATTACHMENT)\z/i
          return body_type_attachment
        when /\A(?:MIXED)\z/i
          return body_type_mixed
        else
          return body_type_basic
        end
      end
Register or log in to add new notes.