Seems I have to clear things a bit up, as I got the feeling I'm
misunderstood.
Aren't we all
Hmm I gotta go code hunt in the libraries.
I use Polymorphism extensively, and I use Duck Typing extensively in
the same Framework. I have Firewall Rules, they are highly polymorphic
-- and I was thinking to replace the polymorphism by delegation
already because it might scale better, I use Duck Typing in a
completely different angle of the application; My DT objects are
servers.
Polymorphism could be used too -- I think I understand you better now
but that would not make lot's of sense as the protocol is tiny (#<<
actually).
The protocol I am using in my rules is huge (~30methods) so the
classical approach makes some sense (still I am a Zero on Delegation
and might miss some opportunities in that corner) as I inherit a lot
and relations like TCPForwarder includes Forwarder, includes TCPRule
etc. make some sense.
Maybe one is entitled to say Ruby offers more as the classical OO
approach, think twice before using it, I might agree.
But for the time being I still insist that Ruby support PM natively,
it would be unfair to deny it.
Cheers
Robert