summaryrefslogtreecommitdiff
path: root/ext/dbm
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-04 10:56:27 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-04 10:56:27 +0000
commit80153973180f0c96affaa85b1ce44283c3699d48 (patch)
tree3586ef3174522e822aae80fd9c1497a47b35ba15 /ext/dbm
parent8d9e3cd9c6e8f22465bec76665ebe49d00eec883 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index eb05afc..c77897e 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'