Hacker News new | ask | show | jobs
by jbbarth 4052 days ago
In Ruby some people achieve this by wrapping actions in their own class, which does the trick if the classes are kept independent from each other (no shared state, except global vars, which nobody uses in the ruby world).
1 comments

I should have been clearer. I meant isolated scope within a function.