aboutsummaryrefslogtreecommitdiffstats
path: root/lib/set.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* * pp.rb (ARGF.pretty_print): implemented.akr2002-09-111-2/+2
| | | | | | | (PP.pp): arguments reordered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Enumerable#all? to optimize a bit.knu2002-09-071-5/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Disallow Set.new(false). Add even more tests.knu2002-09-071-4/+33
| | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Fix a bug in flatten()'s recursive set detection.knu2002-09-071-292/+315
| | | | | | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] Some tests against the bug are added. * lib/set.rb: Resurrect the test suite by putting it after __END__ and executing `eval DATA.read'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* - ==(o) should be aware of all the Set variant instances, not justknu2002-09-041-2/+2
| | | | | | | | | | | those of its subclasses. - Fix eql?(). Submitted by: "Christoph" <chr_news@gmx.net> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add set.rb.knu2002-08-301-0/+778
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e