X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/6a62ba861098fb0992a12211df565b7e5dce2240..d4a19f46105c33aec8ef6ad1c9a50d444241fdcb:/lib/rubyvote/election.rb?ds=inline 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