mardi 29 octobre 2019

How to do if condition check for value A against multiple values in Ruby on Rails?

I have a normal if condition. I have to check

if A IN (:B, :C ) {
 do something
}

But it is not working.

Aucun commentaire:

Enregistrer un commentaire