diff options
Diffstat (limited to 'sample/dbm.rb')
-rw-r--r-- | sample/dbm.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sample/dbm.rb b/sample/dbm.rb new file mode 100644 index 0000000000..1f2886e026 --- /dev/null +++ b/sample/dbm.rb @@ -0,0 +1,6 @@ +# ruby +# + +d = Dbm.open("test") +for k in d.keys; print(k, "\n"); end +for v in d.values; print(v, "\n"); end |