i want to do the following:
I want to declare the instance variables of a class iterating over a dictionary.
Let\'s assume that i have this hash
class MyClass def initialize # define a hash and then hash.each do |k,v| # attr_accessor k # optional instance_variable_set(:"@#{k}", v) end end end