class Kramdown::Utils::LRUCache

def [](key)

Returns the stored value for +key+ or +nil+ if no value was stored under the key.
def [](key)
  (val = @cache.delete(key)).nil? ? nil : @cache[key] = val
end