Ran Rubymine reformat code. Changed elsif.