Learn ruby blocks

ruby blocks examples