X-Git-Url: https://projects.mako.cc/source/rubyvote/blobdiff_plain/254fd48da81d8e3b0938c38db89b9cd2fd6a98fe..46fd43f47d0c9ce798c9249cbfef2e6ec253b467:/lib/rubyvote/condorcet.rb diff --git a/lib/rubyvote/condorcet.rb b/lib/rubyvote/condorcet.rb index 2c5e03a..f86e59d 100644 --- a/lib/rubyvote/condorcet.rb +++ b/lib/rubyvote/condorcet.rb @@ -154,7 +154,7 @@ class CondorcetResult < ElectionResult @matrix = voteobj.votes end - def list_defeats + def victories_and_ties victors = Array.new ties = Array.new candidates = @matrix.keys.sort