block parameter changes for ruby 1.8.7
Merge pull request #195 from elzoiddy/contrib

block parameter changes for ruby 1.8.7