From: "Földes László" Date: 2012-05-15T02:22:15+09:00 Subject: Understanding Enumerator's yielder I found a good (and simple) example of Enumerators (Ruby 1.9) in the pickaxe book, the triangular_numbers from which I devised a simpler (although rather useless) example: m = Enumerator.new { |yielder| loop {yielder.yield 1 } } I faithfully copied that 'yielder' parameter but to be honest I don't understand where it is defined. Is it possible to modify it? It looks like an usual code block which gets called with a parameter. -- Posted via http://www.ruby-forum.com/.