lib/garcon/stash/store.rb
# Update stash with hash (fast batch update).
#
# @param [Hash] hash
#   the key/value hash
#
# @return [Stash] self
#
Update stash with hash (fast batch update).
Update stash with hash ( fast batch update ) .
def update(hash)
        shash = {}
        hash.each { |key, value| shash[@serializer.key_for(key)] = value }
        @journal << shash
        @table.update(shash)
        self
      end
def update ( hash ) shash = { } hash . each { | key , value | shash [ @serializer . key_for ( key ) ] = value } @journal << shash @table . update ( shash ) self end
Update stash with hash (fast batch update).
Update stash with hash ( fast batch update ) .
None
Stash
hash
<not_specific>
<not_specific>
hash the key/value hash
hash the key / value hash