Sha256: ef2bbf9d2ec11dfd1df6fe8a4b07e11ff4e71e406b5b484f3e6a419094eeef90
Contents?: true
Size: 529 Bytes
Versions: 22
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module RubyMemcheck class Suppression attr_reader :root def initialize(configuration, suppression_node) @root = suppression_node end def to_s str = StringIO.new str << "{\n" str << " #{root.at_xpath("sname").content}\n" str << " #{root.at_xpath("skind").content}\n" root.xpath("./sframe/fun | ./sframe/obj").each do |frame| str << " #{frame.name}:#{frame.content}\n" end str << "}\n" str.string end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
ruby_memcheck-1.0.0 | lib/ruby_memcheck/suppression.rb |
ruby_memcheck-0.3.0 | lib/ruby_memcheck/suppression.rb |