From: Ben Zealley Date: 2006-07-22T21:30:06+09:00 Subject: Assigning blame? 'allo Say I have two classes: class Bloke attr_reader :name def sellSoul(aDemon) aDemon.buySoul(self) end end class Demon def buySoul(aBloke) # if aBloke called the method, OK. Else, tell them where to go. puts("I bought #{aBloke.name}'s soul!") end end Tim = Bloke.new Tim.name = "Tim" Satan = Demon.new Tim.sellSoul(Satan) I would like the buySoul method to work only if the Bloke calling it is the same instance of Bloke named, but I can't find any way to determine what object called a given method. Does anyone have a suggestion? Cheers -- Ben