Hi,
In message "[ruby-talk:5406] Re: Object.foo, setters and so on"
on 00/10/11, Yasushi Shoji <yashi / yashi.com> writes:
|def bar=(value)
| p value
|end
|
|bar = 5
|
|> It tells me that bar is private. Why?
|
|because you defined private method :) this thing came up on -talk a
|few days ago, no?
Yes. But setter should always be public. I'll fix this.
matz.