Method: Weak::Set#include?
- Defined in:
- lib/weak/set.rb
#include?(obj) ⇒ Bool Also known as: ===, member?
Note:
Weak::Set does not test member equality with ‘==` or `eql?`. Instead, it always checks strict object equality, so that, e.g., different strings are not considered equal, even if they may contain the same string content.
Returns ‘true` if the given object is included in `self`, `false` otherwise.
|
# File 'lib/weak/set.rb', line 193
|