diff options
Diffstat (limited to 'benchmark/require.yml')
-rw-r--r-- | benchmark/require.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/benchmark/require.yml b/benchmark/require.yml index 711d8e11e9..09f218cf08 100644 --- a/benchmark/require.yml +++ b/benchmark/require.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 |