I want to be able to use in my code the following construct:
p obj.graph_XYZ
obj.graph_XYZ << obj2
Here I want to handle any getter/setter beginning with graph_
I can hook onto the getters, but method_missing picks the getter even when I use obj.graph_XYZ << obj2. Any inputs as to what i may be doing wrong?
Something like this might work for you?