We'll yield each member to the Enumerator as it is generated. def fibonacci Enumerator.new do |y| a = b = 1 loop ...
確定! 回上一頁