From: Luciano Ramalho Date: 2006-12-22T04:37:29+09:00 Subject: Re: Method named ***(other) > "operators" are only special in that the parser is built to recognize a few > constructs, mainly the mathematical operators (+, -, /, *, etc). For the > programmer's case, they are all methods on some object, and all methods can > be overwritten. [...] Thanks for the reply, Jason. I realise +, * etc. are method names, but as Julien just discovered, not all character sequences may be used as method names. There is a table in the Pickaxe book [1][2] which lists all Ruby operators, noting which of them are defined as methods and thus can be overridden. I was just wondering whether there is a way, via introspection, to fetch that list programmatically from Ruby, short of inspecting the source code for the interpreter. Cheers, Luciano [1] page 339 in 2nd ed [2] http://www.rubycentral.com/book/html/language.html