On Friday 28 November 2003 08:15 pm, Hal Fulton wrote: > T. Onoma wrote: > > but can anyone explain why we have pre and post if wrap does them both? > > I asked that, too. But after thinking about it, I decided it is > probably better this way. > > If everything were "wrap" then you would have to look at the > method body to see whether it was adding code before, after, > or both. > > With pre and post, you know where it's adding code without > looking beyond the "def" line. okay. no biggy either way. just seems like less for ruby to parse if we don't really need them. > > and what about super wrapping? > > Not sure what you mean. ruby-talk:86487 > Hal