News for hackers. Stuff that matters.
Re:Using “and” and “or” in Ruby by steveklabnik on Monday August 02, 2010 @10:42PM (#1569910)
You can do

     x = if foo then 'foo' else 'bar' end
in Ruby, if you'd like.

There are no comments on this comment yet.