# File 'lib/fiber_recycling/thread_extensions.rb', line 4def[](key)ifkey==:fiber_recycling__fiber||Fiber.root?superelseFiber.current.variables[key]endend
#[]=(key, value) ⇒ Object
12
13
14
15
16
17
18
# File 'lib/fiber_recycling/thread_extensions.rb', line 12def[]=(key,value)ifkey==:fiber_recycling__fiber||Fiber.root?superelseFiber.current.variables[key]=valueendend