From: Nicholas Van Weerdenburg Date: 2004-12-05T01:14:57+09:00 Subject: Is there a way to get the name of symbol passed to method? Is there a way to get the name of the symbol passed to a method? e.g. def geterdone(array) # funkify array- but I want to know name of original symbol, not array, and prefix each element with it newarray=array.select(...){...} end oldarray=[val1, val2, ...] newarray=geterdone(oldarray) # newarray is now ["oldarray:val1", "oldarray:val2", ...] Thanks, Nick