Afficher un message
Vieux 20/11/2007, 13h48   #5
Pokkai Dokkai
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: is there an nicer way for this expression?

Pokkai Dokkai wrote:

> foo.bar == 1 || 2


sorry , i forgot
try this
foo.bar == (1||2)



--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,06529 seconds with 9 queries