In message "Re: [ruby-core:26761] [Bug #2375] protected singleton methods can be called from other instances"
on Mon, 16 Nov 2009 14:26:23 +0900, Shugo Maeda redmine@ruby-lang.org writes:
|On IronRuby, Foo.new.baz raies NoMethodError, and I guess it's more reasonable than the behavior of CRuby. I have attached a patch.
|
|However, I haven't been able to find any use cases of protected singleton methods.
Agreed. But consistency matters when there's no side effect. Please
check it in to the repository.
=begin
This issue was solved with changeset r25796.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.