RubyFlow The Ruby and Rails community linklog

4 interesting examples using operator precedence in Ruby

In this article, we’re going to explore the following topics:

  • method 'arg' and return
  • method1 || method2 'hello'
  • variable = a or b
  • block {..} vs block do..end
  • SEE MORE

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