Method: Weak::Map#clear

Defined in:
lib/weak/map.rb

#clearself

Removes all elements and returns self

Returns:

  • (self)
[View source] [View on GitHub]

# File 'lib/weak/map.rb', line 233