Marc Heiler wrote in post #1132943:
> This also confuses me.
>
>> setter return right hand value rather then normal return value.
>
> Isn't that truly a logical thing? After all, it is a method call. I can
> use setters without the =
>
>   def set_foo(i)
>     @foo = i
>   end

Yes, of-course. But in that case `set_foo` will not be called as 
**setter**. It is simply a method which is setting/assigning the value 
to the instance variable @foo.

-- 
Posted via http://www.ruby-forum.com/.