On Sep 22, 7:26 am, SpringFlowers AutumnMoon
<summercooln... / gmail.com> wrote:
> so how about just a method not inside a class, can it be named "foo=" as
> well?  if so, how does Ruby know  foo=1 is really an assignment or a
> method call foo=(1)?
>
> Ruby doesn't seem to like "foo=" as a method:

self.foo = 10