Sha256: 100bb65418f7f2f8f38fb42472fcd905a9587afc6d46b19b9606f5fa91545949

Contents?: true

Size: 185 Bytes

Versions: 1

Compression:

Stored size: 185 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'

enum = [1, 2, 3].each

spin do
  while (e = enum.next rescue nil)
    puts e
    sleep 0.1
  end
end

suspend

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polyphony-0.23 examples/core/enumerator.rb