Module: RDoc
- Defined in:
- lib/vendor/puppet/util/monkey_patches.rb
Class Method Summary collapse
Class Method Details
.caller(skip = nil) ⇒ Object
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 |