This is just some example ruby code. It was written against ruby 1.8.7, but should also work on ruby 1.9.1 and 1.9.2.
$ ruby test/mock_stream_test.rb
Loaded suite test/mock_stream_test
Started
..
Finished in 0.000573 seconds.
2 tests, 6 assertions, 0 failures, 0 errors
$ ruby test/stream_finder_test.rb
Loaded suite test/stream_finder_test
Started
....
Finished in 0.001951 seconds.
4 tests, 4 assertions, 0 failures, 0 errors