Class | Qpid::Proton::Types::UniformArray |
In: |
lib/types/array.rb
|
Parent: | ::Array |
*Unsettled API* - An array that is converted to/from an AMQP array of uniform element type. A plain ruby +::Array+ is converted to/from an AMQP list, which can contain mixed type elements. If invalid elements are included, then {TypeError} will be raised when encoding to AMQP.
Construct a uniform array, which will be converted to an AMQP array. A plain ruby +::Array+ is converted to/from an AMQP list, containing mixed type elements.
@param type [Type] Elements must be convertible to this AMQP type. @param elements [Enumerator] Initial elements for the array @param descriptor [Object] Optional array descriptor