diff options
Diffstat (limited to 'ruby_1_8_5/sample/dbmtest.rb')
-rw-r--r-- | ruby_1_8_5/sample/dbmtest.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ruby_1_8_5/sample/dbmtest.rb b/ruby_1_8_5/sample/dbmtest.rb deleted file mode 100644 index c77cc2065b..0000000000 --- a/ruby_1_8_5/sample/dbmtest.rb +++ /dev/null @@ -1,14 +0,0 @@ -# ruby dbm acess -require "dbm" - -d = DBM.open("test") -keys = d.keys -if keys.length > 0 then - for k in keys; print k, "\n"; end - for v in d.values; print v, "\n"; end -else - d['foobar'] = 'FB' - d['baz'] = 'BZ' - d['quux'] = 'QX' -end - |