My first Ruby. Is below the preferred style, from https://github.com/styleguide/ruby? 
do_something if some_condition