Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A Programming Idiom You've Never Heard Of . Parent comment
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.
def in_context(*args) setup_context yield if block_given? ensure teardown_context end
I guess you could build a special class, but why?