method

fetch

v2_5_5 - Show latest stable - Class: YAML::DBM
fetch( keystr, ifnone = nil )
public

Return value associated with key.

If there is no value for key and no block is given, returns ifnone.

Otherwise, calls block passing in the given key.

See ::DBM#fetch for more information.