add Ruby example

fixes #9
Merge pull request #28 from spacebabies/ruby

add Ruby example