In ruby it’s worse, because it would
require multiple inheritance, since it’d have to
extend both WindowListener and ActionListener, as
there are no interfaces, per-se in Ruby.
My bad, you can do this with Object.extend (as
someone has shown) and methods. But as he also said,
nothing prevents two modules from over-writing
one another’s methods.
Sorry for replying to myself.
- Dan