summaryrefslogtreecommitdiff
path: root/benchmark/require_thread.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/require_thread.yml')
-rw-r--r--benchmark/require_thread.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/benchmark/require_thread.yml b/benchmark/require_thread.yml
index 87e0ba888b..0c63257106 100644
--- a/benchmark/require_thread.yml
+++ b/benchmark/require_thread.yml
@@ -15,11 +15,7 @@ prelude: |
FileUtils.mkdir_p(data_dir)
1.upto(num_files) do |i|
- f = File.open("#{data_dir}/c#{i}.rb", "w")
- f.puts <<-END
- class C#{i}
- end
- END
+ File.write("#{data_dir}/c#{i}.rb", "class C#{i}\n""end\n")
end
end