summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/hooks/multiple.rb
blob: 295b46a9aeeab8c76154b4e95f48ec4b97becb40 (plain) (blame)
1
2
3
4
5
6
7
8
9
require 'securerandom'

on_worker_boot do
    File.write("./cookie_worker_boot.#{SecureRandom.hex}", "worker booted")
end

on_thread_boot do
    File.write("./cookie_thread_boot.#{SecureRandom.hex}", "thread booted")
end