Christian Leskowsky wrote: > I thought aspects were baked into the language. You just have to re-open a > definition like: > > class A > def a_method > # do something > end > end > > class B < A > alias old_a_method a_method > > def a_method > puts "I'm an aspect" > > old_a_method > end > end > > Maybe I'm climbing up the wrong tree. Dependency injection and AOP are > different problems aren't they? That's not exactly the same thing as AOP is it (or a very special case)? I mean, with AOP you should be able to define things like pointcuts to apply advice to etc. What you described feels very much like a around advice applied to a _single_ method. If you would do that to all methods you would like to advice with for example transactionality you would be in for a lot of typing in contrast to doing it with pointcuts based on regexp applied to class/method names. /Marcus