4 ms·
Both && and and are short-circuiting operators in Ruby. To eagerly evaluate both operator arguments you would need to use &.
by aardvark179 14y ago
Both && and and are short-circuiting operators in Ruby. To eagerly evaluate both operator arguments you would need to use &.
- InAnEmergency 14y ago"&" isn't even the same category, since it is a definable method and its meaning varies with the value on the left hand side.