Hello,

   I am kind of lost with the nil result while I am expecting a false:

irb(main):001:0>  x =3D 'foo' if false
=3D> nil
irb(main):002:0> x
=3D> nil
irb(main):003:0>  x =3D 'foo' if true
=3D> "foo"
irb(main):004:0> x
=3D> "foo"

   Thanks in advance for sharing your knowledge,

--
An=ECbal Rojas