Sha256: d11e388ce62f3a04527714a796002f301035b10e8e4f1506b444618028aa9443
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
module Stackprofiler module Filter class GemRemoval include RemoveFramesHelper def initialize(options={}) end def filter root, run remove_frames root, run do |node, frame| # todo: gem determination depends on gems being # run from the same interpreter/rubygems path # as stackprofiler. is that a good idea? Gem.path.any? {|p| frame[:file].include?(p) } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackprofiler-0.0.4 | lib/stackprofiler/filters/gem_removal.rb |