Just some example code
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
README.md

README.md

StreamFinder

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.

Running the tests

$ 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