Yukihiro Matsumoto
1/25/2007 3:55:00 PM
Hi,
In message "Re: Class & modifiers modifiers"
on Thu, 25 Jan 2007 23:58:09 +0900, Miquel <ktalanet@yahoo.es> writes:
|module A
|
| protected
|
| def b_method()
| return 'foo->A'
| end
|
|end
|
|class B
| include A
|
| def b_method()
| return 'foo->B'
| end
|
|end
|
|Is B's method b_method() protected? Is it public? What the hell is this
|method (;-) ) ?
public. I don't recommend to override protected method though.
matz.