If you've ever been confused (I know I have) about the difference between Ruby's logical operators (and vs && or or vs ||), this RubyTapas episode by Avdi really does a great job of explaining the differences, and use cases for the English operators.
If you've ever been confused (I know I have) about the difference between Ruby's logical operators (
and
vs&&
oror
vs||
), this RubyTapas episode by Avdi really does a great job of explaining the differences, and use cases for the English operators.