Wilson Bilkovich
3/27/2006 11:01:00 PM
On 3/27/06, Wes Gamble <weyus@att.net> wrote:
> If I am writing a method and I want to refer to the instance of the
> object itself, do I use "self"? Can I use "this"? Is "this" an alias
> for "self"?
>
It's "self", and it can also be used to differentiate between local
variables and methods, in the (very rare, usually Rails-based)
situations where there can be ambiguity.