Auto corrected by following Lint Ruby Style/ExplicitBlockArgument
Click here to configure it on awesomecode.io