From: Claus Spitzer Date: 2004-06-13T12:05:47+09:00 Subject: Re: How to ducktype a Hash? (Disclaimer - I haven't read all of the thread, not am I following it all too closely - I stopped after 40something messages. I'm just skimming over the unread messages and this one caught my fancy, so I might be horribly wrong. Ignore this message if that is the case). On Tue, 8 Jun 2004 18:08:39 +0900, gabriele renzi wrote: 8< ----- snip ----- > I suggested having a mix-in for , say, Input-like objects. > This is useful, imo, for two reasons: > it let's you build Input-like objects programmatically > it let's you strongly specify they're interface[2]. > Now, this reminds me of aspect-oriented programming. Perhaps what is wanted are some AOP tools for Ruby?