Executing a Ruby block in a different context - solution & optimization
I just wrote small blog post regarding a problem I recently faced. My challenge was to execute with a delay a block stored in an ivar but the tricky part is that the block needs to be executed in a different context. I was after a clean solution that would perform well. This is a summary of what I found out and my final solution.
Comments
Use text in links, dude! :-) (Fixed..)
It’s Labor Day in the United States of America, writing raw HTML was requiring too much work :p (thanks for fixing the post tho)
Bâtard paresseux! ;-)
Post a comment