]> projects.mako.cc - selectricity-live/blobdiff - app/models/raw_voter_list.rb
Merge branch 'master' of git://gitorious.org/~ruinar/selectricity/ruinar-selectricity
[selectricity-live] / app / models / raw_voter_list.rb
index 71b200f603f313db269a5cae7714ebe84af8b957..64530d72b131f684c37205a3abe32cef4453ede1 100644 (file)
@@ -1,3 +1,10 @@
+# Selectricity: Voting Machinery for the Masses
+# Copyright (C) 2007, 2008 Benjamin Mako Hill <mako@atdot.cc>
+# Copyright (C) 2007 Massachusetts Institute of Technology
+#
+# This program is free software. Please see the COPYING file for
+# details.
+
 class RawVoterList
 
   attr_accessor :email
@@ -16,7 +23,7 @@ class RawVoterList
   
   def each
     @input_addresses.split("\n").each do |address|
-      yield Voter.new( { :email => address } ) 
+      yield FullVoter.new( { :email => address } ) 
     end
   end
 end

Benjamin Mako Hill || Want to submit a patch?