News for hackers. Stuff that matters.
Re:A Programming Idiom You've Never Heard Of by shubber on Thursday January 05, 2012 @01:43AM (#3427727)
On the other hand, the Ruby equivalent is

def in_context(*args) setup_context yield if block_given? ensure teardown_context end

I guess you could build a special class, but why?

There are no comments on this comment yet.