From: Benjamin Mako Hill Date: Fri, 17 Aug 2007 00:11:09 +0000 (+0000) Subject: changed name of defeats_list to victories_and_ties X-Git-Url: https://projects.mako.cc/source/rubyvote/commitdiff_plain/46fd43f47d0c9ce798c9249cbfef2e6ec253b467 changed name of defeats_list to victories_and_ties git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@43 1440c7f4-e209-0410-9a04-881b5eb134a8 --- 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