Method: Aerospike::Exp::Let#pack
- Defined in:
- lib/aerospike/exp/exp.rb
#pack(packer) ⇒ Object
1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 |
# File 'lib/aerospike/exp/exp.rb', line 1140 def pack(packer) # Let wire format: LET <defname1>, <defexp1>, <defname2>, <defexp2>, ..., <scope exp> count = ((@exps.length - 1) * 2) + 2 packer.write_array_header(count) packer.write(LET) @exps.each do |exp| exp.pack(packer) end end |