standardize ruby code

by rubocop (https://github.com/bbatsov/rubocop)
would be good to keep the spacing here