7 8 9 10 11 12
# File 'lib/vendor/puppet/util/monkey_patches.rb', line 7 def self.caller(skip=nil) in_gem_wrapper = false Kernel.caller.reject { |call| in_gem_wrapper ||= call =~ /#{Regexp.escape $0}:\d+:in `load'/ } end