get_milk(1.gallon) and (get_milk(12.gallons) if eggs.any?)
No? I guess maybe it could be:
milk = 1.gallon && (eggs.any? && 12.gallons)
But then if there are no eggs your husband may return false milk ![]()
That night, the computer scientist attempted to explain if/then/else constructs while his wife threw milk at him.