def lget (*keys)

      h = keys.flatten.inject({}) { |hh, k| hh[k] = nil; hh }
      r = @db.mget(h)

      raise 'lget failure' if r == -1

      h
    end
def lget (*keys)

      h = keys.flatten.inject({}) { |hh, k| hh[k] = nil; hh }
      r = @db.mget(h)

      raise 'lget failure' if r == -1

      h
    end
Connects to the Tyrant table listening at the given host and port.

 You start such a Tyrant with :

   ttserver -port 44502 data.tct

 and then :

   require 'rufus/edo/ntyrant'
   t = Rufus::Edo::NetTyrantTable.new('127.0.0.1', 44502)
   t['client0'] = { 'name' => 'Heike no Kyomori', 'country' => 'jp' }
   t.close


 You can start a Tokyo Tyrant and make it listen to a unix socket (not TCP)
 with :

   ttserver -host /tmp/table_socket -port 0 data.tct

 then :

   require 'rufus/edo/ntyrant'
   t = Rufus::Edo::NetTyrantTable.new('/tmp/table_socket')
   t['client0'] = { 'name' => 'Theodore Roosevelt', 'country' => 'usa' }
   t.close

 Gets multiple records in one sweep.