What’s the precedence of ruby’s method call

Any operator has precedence over the method call.
It is highly recommended to use () for method calls to avoid situations like the one you’re asking about.

Leave a Comment