method

to_a

ruby latest stable - Class: YAML::DBM
to_a()
public

Converts the contents of the database to an array of [key, value] arrays, and returns it.