debian-mirror-gitlab/derailed-benchmarks/test/fixtures/require/parent_one.rb

9 lines
288 B
Ruby
Raw Normal View History

2019-10-03 14:02:42 +05:30
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__)