Variety of small changes (mostly to properties) plus a few "in the
[selectricity] / lib / rubyvote / election.rb
old mode 100644 (file)
new mode 100755 (executable)
index 7fd8396..fc61840
@@ -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?