method

shift

ruby latest stable - Class: SDBM
shift()
public

Removes a key-value pair from the database and returns them as an Array. If the database is empty, returns nil.