class Enumerator::Yielder

A simple class which allows the construction of Enumerator from a block

def <<(*arg)

def <<(*arg)
  @final_block.call(*arg)
  self
end

def initialize(&block)

def initialize(&block)
  @final_block = block
end

def yield(*arg)

def yield(*arg)
  @final_block.call(*arg)
end