E S <eero.saynatkari / kolumbus.fi> wrote:
> In my current project, one of the main paradigms is code such as in 
> the following example. I'm wondering if there's a Ruby/OO designation 
> for it so that I wouldn't have to always show some excerpt when 
> describing the project. It's sort of an inverse continuation passing 
> scheme (which, in itself, isn't exactly a prime OO term). 

Technically currying, but from the example it looks like the intent is
simply function wrapping.

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?

martin