Skip to content

Instantly share code, notes, and snippets.

@avsej avsej/test.rb Secret
Created Jul 1, 2014

Embed
What would you like to do?
operators precedence
# -*- mode: ruby; coding: utf-8; -*-
def a
puts 'a'
end
def b
puts 'b'
end
def c
puts 'c'
end
a || b && c
# >> a
# >> b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.