Answers for "how to call a method to an instance variable in ruby"

0

Ruby instance variabnl get

some_object.instance_variable_get("@#{name}")
Posted by: Guest on September-02-2020

Code answers related to "how to call a method to an instance variable in ruby"

Browse Popular Code Answers by Language