class Fiber

Constants

ROOT_FIBER

Public Instance Methods

current?() click to toggle source
# File lib/fiber_fun.rb, line 11
def current?
  self == Fiber.current
end
root?() click to toggle source
# File lib/fiber_fun.rb, line 7
def root?
  self == ROOT_FIBER
end