In the hunt for a bug in Shoes, which I need to fix for my app, I have
been trying to determine where the “top=” instance method for the Canvas
class is defined in C (most of shoes is written in C)
So far, I’ve looked for the following in source:
- rb_define_method - a bunch of methods for cCanvas have been defined,
but top= doesn’t seem to be there in the list.
- grep of the entire source for “top=”
- grep of source for attr_accessor
- seeing where method_missing was being used on calling Canvas#top=.
Canvas.instance_methods has “top=” in its list so method_missing is not
Anything else I should’ve checked for?
Any suggestions would be appreciated.