Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Just some example code
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
Something went wrong with that request. Please try again.