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.
on 2007-06-06 14:20