From: Karel Michek Date: 2006-08-12T01:52:30+09:00 Subject: newbie question: how to create variable Hi, how to create variable in the method that accepts string as name of the variable and the object? Something like this: class InterpreterCallback def set_object(name, value) #do something here end end $callback = InterpreterCallback.new() $callback.set_object("var", 3) puts var >>> 3