Additional methods related to #require
You can check if something has been required.
require 'require/extra'
require 'thread'
required? 'thread' # => true
Or you can execute some code when something is required.
require 'require/on'
on_require 'thread' do
puts 'thread required'
end