From: "Iñaki Baz Castillo" Date: 2012-06-08T09:14:27+09:00 Subject: Re: Inexplicable Argument Error 2012/6/6 Bartosz Dziewoński : > However, "obj.method=(a,b)" is not interpreted as "call `method=` on > `obj` with arguments `a`, `b`", but as "assign `(a,b)` to > `obj.method`", and there's no such thing as "(a,b)". (Technically that > assign is then converted to another function call, but let's skip > that.) Ruby methods ending in "=" are special: def foo=(var) return 42 end foo="HELLO" => "HELLO" It returns "HELLO" instead of 42. So it's clear that the parses treats those methods in a "different" way. -- Iñaki Baz Castillo