Difference between "and" and "&&"--"or" and "||" ruby operators
One of the subset of Ruby operators are
&&, and, ||, or
everybody gets confused when to use which operator and what advantage one operator has on another. I came across a very nice article by Avdi on these four operators, just give it a glimpse...
No comments:
Post a Comment