Sha256: 4c5243764d7f74d35624807875984a77d875c0dc6701d21d197df5837e1c7f27

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

Poor Man's Fiber (API compatible Thread based Fiber implementation for Ruby 1.8)
  (c) 2008 Aman Gupta (tmm1)

== Usage

f = Fiber.new{ |sym|
  p(sym)
  puts 'hi'
  p(Fiber.yield 1)
  puts 'bye'
  :end
}
p(f.resume :begin)
p(f.resume 2)

:begin
hi
1
2
bye
:end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
fiber18-1.0.1 README
fiber18-1.0.0 README
elia-2.4.2.pre lib/ruby19/tmm1-fiber18-a37a4c3/README
elia-2.4.1 lib/ruby19/tmm1-fiber18-a37a4c3/README
elia-2.3.2 lib/ruby19/tmm1-fiber18-a37a4c3/README