Last Updated: February 25, 2016
· depy

Simple iterator with ruby fibers

I wanted to do someting simple with fibers to see how the basics work so that's what I came up with. Forgive my C-ish 'while' syntax. I haven't written it like this for way too long. I just had too.


(For some reason I can't use @ in code in markdown. No idea how to fix this so I pasted the code in github gist.)