module Kernel

@api private

Private Instance Methods

require(path) click to toggle source
# File lib/atatus/spies.rb, line 90
def require(path)
  res = require_without_apm(path)

  begin
    Atatus::Spies.hook_into(path)
  rescue ::Exception => e
    puts "Failed hooking into '#{path}'. Please report this at " \
      'success@atatus.com'
    puts e.backtrace.join("\n")
  end

  res
end
Also aliased as: require_without_apm
require_without_apm(path)
Alias for: require