diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-04 10:56:27 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-04 10:56:27 +0000 |
commit | 80153973180f0c96affaa85b1ce44283c3699d48 (patch) | |
tree | 3586ef3174522e822aae80fd9c1497a47b35ba15 /ext/dbm | |
parent | 8d9e3cd9c6e8f22465bec76665ebe49d00eec883 (diff) |
* ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward
[Fixes GH-409] https://github.com/ruby/ruby/pull/409
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dbm')
-rw-r--r-- | ext/dbm/dbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index eb05afc1a4..c77897ece5 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -1011,7 +1011,7 @@ fdbm_reject(VALUE obj) * == Example * * require 'dbm' - * db = DBM.open('rfcs', 666, DBM::CREATRW) + * db = DBM.open('rfcs', 666, DBM::WRCREAT) * db['822'] = 'Standard for the Format of ARPA Internet Text Messages' * db['1123'] = 'Requirements for Internet Hosts - Application and Support' * db['3068'] = 'An Anycast Prefix for 6to4 Relay Routers' |