So I'm trying to access the test variable in this hash:
a = {:info=>#<test: "Testvar">}
I tried it with a[:info]['test'] or a[:info].test but I always get "can't convert Symbol into Integer" as error. What am I doing wrong? I guess it's pretty basic stuff but I can't find a solution.