Update lib/ballot_image_line.rb

If we use Struct.new with a block instead of subclassing it, then
constant definitions must change.