debian-mirror-gitlab/derailed-benchmarks/test/fixtures/require/parent_one.rb
2019-10-03 20:48:27 +05:30

8 lines
288 B
Ruby

class ParentOne
@retained = +""
1_000_000.times.map { @retained << "A" }
end
require File.expand_path('../child_one.rb', __FILE__)
require File.expand_path('../child_two.rb', __FILE__)
require_relative 'relative_child'
require_relative File.expand_path('relative_child_two', __dir__)