RubyFlow The Ruby and Rails community linklog

Understanding Boolean Operator Precedence in Ruby (&&, and, ||, or)

Operator precedence might be one of the most confusing parts of the Ruby language. Even the docs recommend you just use && and ||. Read it here

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in