On Fri, Nov 28, 2008 at 05:57, David A. Black <dblack / rubypal.com> wrote:
> They're not the same. self.bar is a singleton method on whatever
> instance of C just called foo2. The bar in foo1 is an instance method
> of C, so any instance of C can call it.

Ugh, my bad. I was under the strong impression using def in this
context made it a singleton method.

--
Daniel