Use #load. Not tested but it will be something like:

["a","b"].each do |name|
    sandbox = Module.new { load "#{name}.rb" }

    survey = sandbox::Survey.new

    puts survey.name
  end