Skip to content
instance method

ObjectSpace::WeakKeyMap#[]

(Key) -> Value?
map[key] → value

Returns the value associated with the given key if found.

If key is not found, returns nil.

See also #[]= #clear also in 4.1 · 3.4 · 3.3