summaryrefslogtreecommitdiff
path: root/lib/set.rb
Commit message (Expand)AuthorAgeFilesLines
* Support obj.clone(freeze: true) for freezing cloneJeremy Evans2020-03-221-1/+1
* Call initialize_clone with freeze: false if clone called with freeze: falseJeremy Evans2020-01-031-2/+2
* speed up set intersectOleg Zubchenko2019-12-311-1/+9
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-181-10/+0
* Fix SortedSet subclasses that override initializeJeremy Evans2019-09-061-1/+2
* raise FrozenError instead of RuntimeErrorkazu2019-01-201-1/+1
* Add a new #filter alias for #selecteregon2018-02-251-0/+3
* lib/set.rb: [DOC] remove empty commentsstomar2017-11-221-4/+4
* set.rb: improve docs for Setstomar2017-11-221-33/+28
* Add examples to Set documentation [ci skip]knu2017-11-171-7/+47
* lib/set.rb: improve docs for Set#===stomar2017-10-291-6/+11
* Add `Set#reset`knu2017-10-221-0/+18
* Avoid use of `self.class.new(self)` in Set#collect!knu2017-10-211-1/+3
* Fix comparison methods of Set to check if `@hash` is actually comparableknu2017-10-211-4/+4
* Use a mutex to make SortedSet.setup thread-safeknu2017-10-211-90/+92
* Remove redundant use of module_evalknu2017-10-211-8/+6
* Allow a SortedSet to be frozen and still functional [Bug #12091]knu2017-10-211-0/+5
* Alias Set#=== to #include?knu2017-09-191-0/+17
* Alias Set#to_s to #inspect [ruby-core:81753] [Feature #13676]knu2017-07-141-0/+2
* Add Set#compare_by_identity and Set#compare_by_identity?knu2016-11-051-2/+20
* * lib/set.rb: [DOC] add documentation that Set#{delete_if,keep_if,collect!,re...ktsj2016-05-041-4/+11
* * lib/set.rb (Set#{delete_if,keep_if,collect!,reject!,select!,classify,divide},ktsj2016-05-041-9/+9
* * lib/set.rb: Enable frozen_string_literal.knu2015-11-161-1/+3
* Explain the reason for calling do_with_enum without a block [ci skip]knu2015-11-161-1/+1
* * lib/set.rb (Hash#flatten!, #add?, #delete?, #collect!, #reject!,knu2015-11-161-23/+8
* * lib/set.rb (#>=, #>, #<=, #<): Make use of Hash#>=, #>, #<, andknu2015-11-161-12/+32
* * lib/set.rb: Make Set#each and SortedSet#each generate a sizedknu2015-06-151-2/+2
* * hash.c: Added docs to explain that #include? and #member? do nothsbt2015-02-171-0/+5
* set: speed up Set#include?normal2015-02-111-2/+2
* * lib/set.rb (Set#replace): Check if an object given is enumerableknu2014-08-061-4/+4
* Implement Set#clone. [Fixes GH-661]knu2014-08-061-2/+9
* * lib/set.rb: [DOC] Fix grammatical error by @bouk [fix GH-524]hsbt2014-02-051-1/+1
* * lib/set.rb: [DOC] Add examples for Set#intersect? and Set#disjoint?zzak2014-01-281-0/+13
* * lib/set.rb (class SortedSet): Fix source_location for methods defined via e...tmm12013-11-221-4/+4
* * lib/set.rb: [DOC] Add a couple of notes on Hash as storage.knu2013-07-311-3/+10
* * lib/set.rb: [DOC] Fix example result. Hash is now ordered.knu2013-07-311-1/+1
* Use the term "sorted" instead "ordered" when mentioning SortSet.knu2013-07-311-1/+1
* Add Set#intersect? and #disjoint?.knu2013-07-301-0/+17
* Define Set#to_set so that aSet.to_set returns self.knu2013-07-191-0/+10
* * lib/set.rb (Set#freeze, taint, untaint): Save a "self" byknu2013-06-011-6/+3
* * lib/set.rb (Set#delete_if, Set#keep_if): Avoid blockless call ofknu2013-05-201-3/+3
* * lib/set.rb (Set#delete_if, Set#keep_if): Add comments.knu2013-05-191-0/+4
* * lib/set.rb (Set#delete_if, Set#keep_if): Make Set#delete_if andknu2013-05-181-2/+2
* Move tests embedded in lib/set.rb to test/test_set.rb.knu2012-11-241-644/+1
* Drop executable bits.knu2012-11-221-0/+0
* * lib/set.rb (#initialize_copy, #eql): Use instance_variable_getknu2012-09-011-2/+2
* * lib/set.rb (Set#{each,reject!,select!}, SortedSet#each): Passknu2012-08-311-12/+12
* * lib/set.rb (Set#{<,>,<=,>=}): Define comparison operators asknu2012-08-301-0/+23
* * lib/set.rb (SortedSet.setup): remove old_init after initializeakr2011-11-201-0/+4
* * lib/set.rb (SortedSet.setup): don't remove old_init. The removeakr2011-11-201-1/+0