My code is
if @site.Name != ("B.A.P." || "Cir." || "10th")
do this if part
else
do this else part
end
if @site.name = "B.A.P"
is working fine but for others two it's not working properly. I also used one more syntax which is:
if ["B.A.P." , "Cir." , "10th"].include? (@site.Name)
Again facing the same problem. Can any one suggest me proper way to implement logical `or operator with if condition?