projects
/
rubyvote
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
254fd48
)
changed name of defeats_list to victories_and_ties
author
Benjamin Mako Hill
<mako@atdot.cc>
Fri, 17 Aug 2007 00:11:09 +0000
(
00:11
+0000)
committer
Benjamin 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
patch
|
blob
|
history
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?