Flowdock
method

validate_internal

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Net::IMAP::MessageSet
validate_internal(data) 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 1541
      def validate_internal(data)
        case data
        when "*"
        when Integer
          ensure_nz_number(data)
        when Range
        when Array
          data.each do |i|
            validate_internal(i)
          end
        when ThreadMember
          data.children.each do |i|
            validate_internal(i)
          end
        else
          raise DataFormatError, data.inspect
        end
      end
Register or log in to add new notes.