Ran rubocop on the file and cleaned up style