bensomers/enki — Issue #22: return values for and statements
Author: bensomers
Created: 2012-01-05 01:40:42+00:00
State: open

nil and true #=> nil
false and true #=> false

true and nil #=> nil
true and false #=> nil

true and false and nil #=> false
true and nil and false #=> nil

true and 1 #=> 1
1 and true #=> true