get instance variable ruby code example Example: Ruby instance variabnl get some_object.instance_variable_get("@#{name}")