Hi,
In message "[ruby-talk:15742] Ruby Programming Practice"
on 01/05/26, "John Kaurin" <jkaurin / home.com> writes:
|But in a general Ruby programming view, where one programmer
|is controlling all the files, is it good practice for a superclass to
|use a method (or instance variable) defined by a derived class?
|This does not seem to follow from the library designer view.
I think it's OK. I even call this a template pattern.
Some feel better if you provide empty placeholder, but I don't think
it's mandatory, because Ruby does not have virtual class, and you'll
get an error at runtime anyway.
matz.