Actions
Feature #6589
closedSet#rehash
Feature #6589:
Set#rehash
Description
There should be a way to rehash a Set
.
s = Set.new([[]])
s.first << 1
# s.rehash # Does not exist!
s.include? [1] # => false, want true
See also:
http://stackoverflow.com/questions/10992423/is-this-expected-behaviour-for-a-set-of-arrays-in-ruby
http://stackoverflow.com/questions/10361400/deleting-a-modified-object-from-a-set-in-a-no-op
Actions