lib/rufus/tokyo/cabinet/util.rb
def []= (k, v)

      clib.tcmapput(pointer, k, Rufus::Tokyo::blen(k), v, Rufus::Tokyo::blen(v))

      v
    end
def []= (k, v)

      clib.tcmapput(pointer, k, Rufus::Tokyo::blen(k), v, Rufus::Tokyo::blen(v))

      v
    end
Creates an empty instance of a Tokyo Cabinet in-memory map

 (It's OK to pass the pointer of a C map directly, this is in fact
 used in rufus/tokyo/table when retrieving entries)

 Inserts key/value pair