summaryrefslogtreecommitdiff
path: root/lib/set.rb
AgeCommit message (Expand)Author
2020-06-11Make mutating the result of SortedSet#to_a not affect the setJeremy Evans
2020-03-22Support obj.clone(freeze: true) for freezing cloneJeremy Evans
2020-01-03Call initialize_clone with freeze: false if clone called with freeze: falseJeremy Evans
2019-12-31speed up set intersectOleg Zubchenko
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
2019-09-06Fix SortedSet subclasses that override initializeJeremy Evans
2019-01-20raise FrozenError instead of RuntimeErrorkazu
2018-02-25Add a new #filter alias for #selecteregon
2017-11-22lib/set.rb: [DOC] remove empty commentsstomar
2017-11-22set.rb: improve docs for Setstomar
2017-11-17Add examples to Set documentation [ci skip]knu
2017-10-29lib/set.rb: improve docs for Set#===stomar
2017-10-22Add `Set#reset`knu
2017-10-21Avoid use of `self.class.new(self)` in Set#collect!knu
2017-10-21Fix comparison methods of Set to check if `@hash` is actually comparableknu
2017-10-21Use a mutex to make SortedSet.setup thread-safeknu
2017-10-21Remove redundant use of module_evalknu
2017-10-21Allow a SortedSet to be frozen and still functional [Bug #12091]knu
2017-09-19Alias Set#=== to #include?knu
2017-07-14Alias Set#to_s to #inspect [ruby-core:81753] [Feature #13676]knu
2016-11-05Add Set#compare_by_identity and Set#compare_by_identity?knu
2016-05-04* lib/set.rb: [DOC] add documentation that Set#{delete_if,keep_if,collect!,re...ktsj
2016-05-04* lib/set.rb (Set#{delete_if,keep_if,collect!,reject!,select!,classify,divide},ktsj
2015-11-16* lib/set.rb: Enable frozen_string_literal.knu
2015-11-16Explain the reason for calling do_with_enum without a block [ci skip]knu
2015-11-16* lib/set.rb (Hash#flatten!, #add?, #delete?, #collect!, #reject!,knu
2015-11-16* lib/set.rb (#>=, #>, #<=, #<): Make use of Hash#>=, #>, #<, andknu
2015-06-15* lib/set.rb: Make Set#each and SortedSet#each generate a sizedknu
2015-02-17* hash.c: Added docs to explain that #include? and #member? do nothsbt
2015-02-11set: speed up Set#include?normal
2014-08-06* lib/set.rb (Set#replace): Check if an object given is enumerableknu
2014-08-06Implement Set#clone. [Fixes GH-661]knu
2014-02-05* lib/set.rb: [DOC] Fix grammatical error by @bouk [fix GH-524]hsbt
2014-01-28* lib/set.rb: [DOC] Add examples for Set#intersect? and Set#disjoint?zzak
2013-11-22* lib/set.rb (class SortedSet): Fix source_location for methods defined via e...tmm1
2013-07-31* lib/set.rb: [DOC] Add a couple of notes on Hash as storage.knu
2013-07-31* lib/set.rb: [DOC] Fix example result. Hash is now ordered.knu
2013-07-31Use the term "sorted" instead "ordered" when mentioning SortSet.knu
2013-07-30Add Set#intersect? and #disjoint?.knu
2013-07-19Define Set#to_set so that aSet.to_set returns self.knu
2013-06-01* lib/set.rb (Set#freeze, taint, untaint): Save a "self" byknu
2013-05-20* lib/set.rb (Set#delete_if, Set#keep_if): Avoid blockless call ofknu
2013-05-19* lib/set.rb (Set#delete_if, Set#keep_if): Add comments.knu
2013-05-18* lib/set.rb (Set#delete_if, Set#keep_if): Make Set#delete_if andknu
2012-11-24Move tests embedded in lib/set.rb to test/test_set.rb.knu
2012-11-22Drop executable bits.knu
2012-09-01* lib/set.rb (#initialize_copy, #eql): Use instance_variable_getknu
2012-08-31* lib/set.rb (Set#{each,reject!,select!}, SortedSet#each): Passknu
2012-08-30* lib/set.rb (Set#{<,>,<=,>=}): Define comparison operators asknu
2011-11-20* lib/set.rb (SortedSet.setup): remove old_init after initializeakr