add code for ruby blocks
Merge pull request #1 from mindvalley/ruby-and-blocks

add code for ruby blocks