method

shift

v1_9_3_392 - Show latest stable - Class: YAML::DBM
shift()
public

Removes a [key, value] pair from the database, and returns it. If the database is empty, returns nil.

The order in which values are removed/returned is not guaranteed.