From: gabriele renzi Date: 2004-06-13T18:08:38+09:00 Subject: Re: How to ducktype a Hash? il Sun, 13 Jun 2004 12:05:47 +0900, Claus Spitzer ha scritto:: >> 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? > why does it? I'm not an AOP expert, but we have some degree of AOP in ruby anyway, even if in Ruby2 that will be better. Anyway, If you will I' d like to know more about this. And if you're interested in AOP/defadvice this message from mauricio fernandez may be of cool for you: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/97440