- if flash.any? .flashes - flash.each do |key, value| .flash{ class: "flash--#{key}" } = value