Description
Adds a mixin for class-level thread-local state in Ruby. It is useful when libraries need per-thread context without sharing values across every thread in the process.
Thread-local state can leak between requests or jobs in thread pools. Clear context after use and avoid storing long-lived secrets there.