ruby get variable name as string. There are any references about ruby get variable name as string in here. you can look below.