1 # Selectricity: Voting Machinery for the Masses
2 # Copyright (C) 2007, 2008 Benjamin Mako Hill <mako@atdot.cc>
3 # Copyright (C) 2007 Massachusetts Institute of Technology
5 # This program is free software. Please see the COPYING file for
11 attr_accessor :input_addresses
15 def initialize(params={})
16 @email = params[:email].to_i || 1
17 @input_addresses = params[:input_addresses] || String.new
25 @input_addresses.split("\n").each do |address|
26 yield FullVoter.new( { :email => address } )