class Roda::RodaCache
each protected by a mutex.
A thread safe cache class, offering only #[] and #[]= methods,
def [](key)
def [](key) @mutex.synchronize{@hash[key]} end
def []=(key, value)
def []=(key, value) @mutex.synchronize{@hash[key] = value} end
def initialize
def initialize @mutex = Mutex.new @hash = {} end