class Aerospike::Exp::ListVal

Attributes

list[R]

Public Class Methods

new(list) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1301
def initialize(list)
  @list = list
end

Public Instance Methods

pack(packer) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1305
def pack(packer)
  # List values need an extra array and QUOTED in order to distinguish
  # between a multiple argument array call and a local list.
  packer.write_array_header(2)
  packer.write(QUOTED)
  Value.of(@list).pack(packer)
end