projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Variety of small changes (mostly to properties) plus a few "in the
[selectricity]
/
lib
/
rubyvote
/
election.rb
diff --git
a/lib/rubyvote/election.rb
b/lib/rubyvote/election.rb
old mode 100644
(file)
new mode 100755
(executable)
index
7fd8396
..
fc61840
--- a/
lib/rubyvote/election.rb
+++ b/
lib/rubyvote/election.rb
@@
-70,7
+70,7
@@
class PluralityVote < ElectionVote
protected
def verify_vote(vote=nil)
- vote
.instance_of?( String )
+ vote
? true : false
end
def tally_vote(candidate)
Benjamin Mako Hill
||
Want to submit a patch?