minor metaprogramming
Can anyone tell me why ruby’s instance_variable_set
would possibly require the name of a variable to start with an “@”, rather than simply assuming it? It’s a ruddy instance variable, after all…
I can find no decent alternative to python’s setattr
in ruby, which surprises me.