itsme213 / hotmail.com wrote:
> Does this also provide a quite general form of dependency injection,
> very different in nature and weight compared to something like Needle?

Had to give this some thought. Mu immediate conjecture is that it must
since DI and AOP are closely related. But I'm no DI expert like Jim
Weirich. But in giving it some conosideration, I imagine there's not
much more to it than:

  class App

    def logger
      nil  # no logger available
    end

  end

  cut AppContainer < App

    def logger
      Logger.new
    end

  end


T.