fruit = "orange" if fruit == "orange"
color = "orange"
elsif fruit == "apple"
color = "green"
elsif fruit == "banana"
color = "yellow" else
color = "unknown" end
fruit = "orange" case fruit
when "orange"
color = "orange"
when "apple"
color = "green"
when "banana"
color = "yellow" else
color = "unknown" end