Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jbbarth
· 11y ago · 0 comments
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).
Comments
[–]
enqk
11y ago
I should have been clearer. I meant isolated scope
within
a function.