>>>>> "B" == =?ISO-8859-1?Q?Bernhard Gl=FCck?= <jglueck / vol.at> writes:

B> But my question is which operators can be defined this way ? And what

 The op defined by ruby are (I hope that I've not forgotten one)

  |, ^, &, <=>, ==, ===, =~, >, >=, <, <=, <<, >>, +, -, *, /, %, **, ~,
   -@ (unary minus), +@ (unary plus), [], []=, `

B> are their prototypes ( e.g does *= exist ? Does it require to return a
B> value or not ? )

 No, 'a += b' is transformed in 'a = a + b'


Guy Decoux