Pe?a, Botp wrote:

>2. 2nd question: How do I get the receiver that received the method passed?
>
>So that:
>  
>
>>ruby -w test1.rb
>>    
>>
>"You ask for bark thru beethoven"
>"arf!arf!"
>"You ask for purr thru beethoven"
>"sorry, cannot do purr thru beethoven"
>  
>
I don't think you can do this.

Variable names are incidental, essentially they're just pointers to the 
underlying object.

You can have more than one variable pointing to the same object, so any 
object could
have an infinite number of 'names' (theoretically).  Really, objects 
don't have a name,
variable names are just ways to help us remember which is which.

Why do you want to do this?

- Dan