Holds the information for an AMQP Array compound type.
It holds the type for the array and the descriptor if the array is described.
# File lib/qpid_proton/array.rb, line 38 def initialize(type, descriptor = nil) @type = type @descriptor = descriptor end
# File lib/qpid_proton/array.rb, line 48 def ==(that) ((@type == that.type) && (@descriptor == that.descriptor)) end
Returns true if the array is described.
# File lib/qpid_proton/array.rb, line 44 def described? !@descriptor.nil? end