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