spark.rb: use elsif instead of else if
Just a very tiny fix: using elsif is the usual way to realize an "else if" in Ruby and saves us an additional end line.
Just a very tiny fix: using elsif is the usual way to realize an "else if" in Ruby and saves us an additional end line.