X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/9565924bed8f9afd0682d4d029378711b905c550..ae1b10889b53eeabc3a1f2281cfc1555781ab7fb:/lib/rubyvote/election.rb diff --git a/lib/rubyvote/election.rb b/lib/rubyvote/election.rb index b9bb557..42f18bb 100644 --- a/lib/rubyvote/election.rb +++ b/lib/rubyvote/election.rb @@ -133,7 +133,7 @@ class ElectionResult end def winner? - @winners.length > 0 + @winners.length > 0 and not @winners[0].nil? end end