class Fiber

Public Class Methods

root() click to toggle source
# File lib/thread_root_fiber/fiber.rb, line 2
def root
  Thread.current.root_fiber
end

Public Instance Methods

root?() click to toggle source
# File lib/thread_root_fiber/fiber.rb, line 8
def root?
  self == Fiber.root
end
Also aliased as: root_fiber?
root_fiber?()
Alias for: root?