wmorgan/leveldb-ruby — pull request #10 by technoweenie (2011-11-28 09:07:06+00:00)
Title: Improve DB iteration

I wanted a few things:

* Specify a start key for iteration.
* Specify an end key.
* Iterate in reverse.

```ruby
# assume keys a, b, c
db.each('b') { |k, v| puts k }
# b
# c

db.each('a', 'b') { |k, v| puts k }
# a
# b

db.reverse_each('b') { |k, v| puts k }
# b
# a

db.reverse_each('c', 'b') { |k, v| puts k }
# c
# b
```

This is my first c++ code.