From: Wilson Bilkovich Date: 2006-03-28T08:01:21+09:00 Subject: Re: Newbie: Equivalent to "this" keyword in Java? On 3/27/06, Wes Gamble 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.