Sha256: ef2bbf9d2ec11dfd1df6fe8a4b07e11ff4e71e406b5b484f3e6a419094eeef90
Contents?: true
Size: 529 Bytes
Versions: 21
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
21 entries across 21 versions & 1 rubygems