lib/rufus/edo/tabcore.rb
def []= (pk, h_or_a)

      pk = pk.to_s

      m = h_or_a.is_a?(Hash) ? h_or_a : Hash[*h_or_a]
      m = Rufus::Tokyo.h_or_a_to_s(m)

      #verify_value(m)

      @db.put(pk, m) || raise_error
    end
def []= (pk, h_or_a)

      pk = pk.to_s

      m = h_or_a.is_a?(Hash) ? h_or_a : Hash[*h_or_a]
      m = Rufus::Tokyo.h_or_a_to_s(m)

      #verify_value(m)

      @db.put(pk, m) || raise_error
    end
Inserts a record in the table db

   table['pk0'] = [ 'name', 'fred', 'age', '45' ]
   table['pk1'] = { 'name' => 'jeff', 'age' => '46' }

 Accepts both a hash or an array (expects the array to be of the
 form [ key, value, key, value, ... ] else it will raise
 an ArgumentError)

 Raises an error in case of failure.