From: Douglas Livingstone Date: 2005-02-04T08:16:30+09:00 Subject: Re: [Terminology] What's the Ruby/OO name for this paradigm? > e.g. we do this a lot at work: > > one(args) { > ensure thread safety; > return two(args) > } > > two(args) { > ensure constraint satisfaction; > return three(args) > } > > three(args) { > do the actual work; > return the actual result; > } > > Is that the same thing you're using it for? Reminds me of decorators[1] except applied to functions instead of objects. (Well.. OK... functions are objects... clss sense then...) Douglas [1]http://c2.com/cgi/wiki?DecoratorPattern