johnewart/ruby-metrics — pull request #27 by eric (2011-10-31 05:02:58+00:00)
Title: General cleanup to make things more ruby-ish.

* Make `require` statements assume lib/ is in the $LOAD_PATH
* Remove the methods in the Metrics::Instruments module -- there isn't a big
benefit of using the `register` methods over just having the methods create
instances of the objects that are needed right there. This also makes it
possible to have more than one instance of `Metrics::Agent` in a process.
* Remove base classes for instruments and statistics -- these don't really
provide value in ruby

This is the same thing as #25 without the JSON changes, which ended up being more contentious that I expected.