use block_given in module_namespacing
Merge pull request #533 from buddhamagnet/master

Use block_given? in module_namespacing method