diff options
Diffstat (limited to 'ext/dbm/dbm.c')
-rw-r--r-- | ext/dbm/dbm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index 57d227e8ad..27ade017e1 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -655,6 +655,7 @@ fdbm_store(VALUE obj, VALUE keystr, VALUE valstr) /* * call-seq: * dbm.length -> integer + * dbm.size -> integer * * Returns the number of entries in the database. */ @@ -832,7 +833,10 @@ fdbm_values(VALUE obj) /* * call-seq: + * dbm.include?(key) -> boolean * dbm.has_key?(key) -> boolean + * dbm.member?(key) -> boolean + * dbm.key?(key) -> boolean * * Returns true if the database contains the specified key, false otherwise. */ @@ -859,6 +863,7 @@ fdbm_has_key(VALUE obj, VALUE keystr) /* * call-seq: * dbm.has_value?(value) -> boolean + * dbm.value?(value) -> boolean * * Returns true if the database contains the specified string value, false * otherwise. |