private def closure causes MissingMethodException #11

This will avoid MissingMethodException if called closure defined as 'private'.