@dan rathbun said:
@thomthom said:
@dan rathbun said:
(1) Jim did not subclass from Sketchup::ShadowInfoObserver
No need. Su doesn't care. Just implement the methods required.
I knew that Sketchup does't (currently,) check the observer's superclass.
But isn't it a matter of good Ruby programming practice?
And, what if (in the future,) Google implements some built-in methods, constants, etc. in the superclass that will need to be inherited by your custom observer's subclass(es)? You'd have to go and edit and re-release all your plugins that use observer's.
Kind of seem to be by design: http://forums.sketchucation.com/viewtopic.php?f=180&t=17047&start=150#p171636