From: Christian Theil Have Date: 2007-06-06T21:19:18+09:00 Subject: Ruby operator precedence ------=_Part_25653_17394291.1181132357972 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi I've been toying a bit with Ruby based DSL in which I use some standard Ruby operators for my own evil purposes. I have some problems with operator precedence though. I can't find any information about the predence of binary operators in Ruby. For instance if I have a and b and c <=> d and e In which order does Ruby evaluate this? Does any one known of some documentation of operator precedence in Ruby? Is is possible to change precedence of builtin operators? Regards, Christian Theil Have. ------=_Part_25653_17394291.1181132357972--