Flowdock
method

validate_data

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: Net::IMAP
validate_data(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 1224
    def validate_data(data)
      case data
      when nil
      when String
      when Integer
        if data < 0 || data >= 4294967296
          raise DataFormatError, num.to_s
        end
      when Array
        data.each do |i|
          validate_data(i)
        end
      when Time
      when Symbol
      else
        data.validate
      end
    end
Register or log in to add new notes.