Selaa lähdekoodia

Align votes total under column

main
Adrian Short 1 vuosi sitten
vanhempi
commit
f081bd9fdb
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      twohorserace

+ 2
- 2
twohorserace Näytä tiedosto

@@ -98,8 +98,8 @@ data['bodies'].each do |body|

# Total votes in this poll
if poll['votes']
puts
puts "Total: %d" % poll['votes']
puts "%68s" % [ "=" * poll['votes'].to_s.size ]
puts "%68d" % poll['votes']
end

# Rejected ballots in this poll


Ladataan…
Peruuta
Tallenna