class EventMachine::Iterator
def next_item
Return the next item from @list or @list_proc.
def next_item if @list_proc @list_proc.call else @list.empty? ? Stop : @list.shift end end
def next_item if @list_proc @list_proc.call else @list.empty? ? Stop : @list.shift end end