virtuouscode.com
Using “and” and “or” in Ruby
UPDATE: For a newer, better take on this topic, check out this post. If you use Ruby long enough, you will discover the and and or operators. These appear at first glance to be synonyms for &&a…