]> projects.mako.cc - rubyvote/commitdiff
changed name of defeats_list to victories_and_ties
authorBenjamin Mako Hill <mako@atdot.cc>
Fri, 17 Aug 2007 00:11:09 +0000 (00:11 +0000)
committerBenjamin Mako Hill <mako@atdot.cc>
Fri, 17 Aug 2007 00:11:09 +0000 (00:11 +0000)
git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@43 1440c7f4-e209-0410-9a04-881b5eb134a8

lib/rubyvote/condorcet.rb

index 2c5e03a028ac49aae97ab0fcab901c971cb7407e..f86e59d1295cdc876b9d9f380892452c5f3bab04 100644 (file)
@@ -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

Benjamin Mako Hill || Want to submit a patch?