class Aerospike::Exp::CmdStr

Attributes

cmd[R]
str[R]

Public Class Methods

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

Public Instance Methods

pack(packer) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1206
def pack(packer)
  packer.write_array_header(2)
  Value.of(@cmd).pack(packer)
  packer.write(@str)
end