ruby 2.0 sample code

@korny I wrote up some sample Ruby 2.0 code for you to look over.