class InlineSvg::TransformPipeline::Transformations::NoComment

def transform(doc)

Experimental RBS support (using type sampling data from the type_fusion project).

def transform: (Nokogiri::XML::Document doc) -> Nokogiri::XML::Document

This signature was generated using 2 samples from 1 application.

def transform(doc)
  with_svg(doc) do |svg|
    svg.xpath("//comment()").each do |comment|
      comment.remove
    end
  end
end