X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/886da4d0dc54fabee70bf4e7aea4d2988f7cf83d..dd09013c2cfc42623110da16879b9a7245fed34a:/lib/rubyvote/election.rb?ds=sidebyside 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