Method: Extlib::SimpleSet#<<
- Defined in:
- lib/extlib/simple_set.rb
#<<(value) ⇒ SimpleSet
Add a value to the set, and return it
29 30 31 32 |
# File 'lib/extlib/simple_set.rb', line 29 def <<(value) self[value] = true self end |
Add a value to the set, and return it
29 30 31 32 |
# File 'lib/extlib/simple_set.rb', line 29 def <<(value) self[value] = true self end |