pull me request

leave your comments and changes :)
@damien-roche  I am trying to avoid do ..end blocks and used {}
one of the reason precedence of curly braces is higher than that of the block;
and another reason read http://stackoverflow.com/questions/6179442/block-definition-difference-between-braces-and-do-end