class RequestLocals::Cache

Internal: Cache that supports nested access by using a monitor instead of a mutex.

Public Class Methods

new(options = nil) click to toggle source
Calls superclass method
# File lib/request_locals.rb, line 36
def initialize(options = nil)
  super(options)
  @write_lock = Monitor.new
end