projects
/
rubyvote
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changed name of defeats_list to victories_and_ties
[rubyvote]
/
lib
/
rubyvote
/
condorcet.rb
diff --git
a/lib/rubyvote/condorcet.rb
b/lib/rubyvote/condorcet.rb
index 2c5e03a028ac49aae97ab0fcab901c971cb7407e..f86e59d1295cdc876b9d9f380892452c5f3bab04 100644
(file)
--- a/
lib/rubyvote/condorcet.rb
+++ b/
lib/rubyvote/condorcet.rb
@@
-154,7
+154,7
@@
class CondorcetResult < ElectionResult
@matrix = voteobj.votes
end
- def
list_defeat
s
+ def
victories_and_tie
s
victors = Array.new
ties = Array.new
candidates = @matrix.keys.sort
Benjamin Mako Hill
||
Want to submit a patch?