instance method
owner_status
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
owner_status(owner)
No documentation comment.
Parameters
-
ownerreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_locks.rb, line 109
def owner_status(owner)
case owner
when Thread then owner.status || "dead"
when Fiber then owner.alive? ? "alive" : "dead"
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_locks.rb line 109
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugLocks