YAML::DBM

class YAML::DBM

Parent:
DBM

YAML + DBM = YDBM

YAML::DBM provides the same interface as ::DBM.

However, while DBM only allows strings for both keys and values, this library allows one to use most Ruby objects for values by first converting them to YAML- Keys must be strings-

Conversion to and from YAML is performed automatically-

See the documentation for ::DBM and ::YAML for more information.

Public Instance Methods

登录查看完整内容