title: Are there something like Python generators in Ruby?
body: <p>I am new to Ruby, is there a way to <code>yield</code> values from Ruby functions? If yes, how? If not, what are my options to write lazy code?</p>