Ruby/case

ruby
signal = gets
case signal
when "blue", "green"
  puts "go"
when "yellow"
  puts "caution"
else
  puts "stop"
end