a = [:aa, :bb, :cc, :dd]
ele = :unknown
a.each do |i|
i == :cc and ele = i and
break;
end
# ele = :cc
#####################################################
# i == :cc and ele = i and break; => if i == :cc
# ele = i
# break;
# end
#####################################################
# 当if写在后面时就可以这样: 条件 and 执行语句1 and 执行语句2
# 一条执行语句:执行语句 if 条件