class Spoom::Coverage::D3::Pie::Sigils

def initialize(id, title, snapshot)

def initialize(id, title, snapshot)
  super(id, title, snapshot.sigils_excluding_rbis.select { |_k, v| v })
end

def tooltip

def tooltip
  <<~JS
    function tooltip_#{id}(d) {
      tooltipPie(d, "typed: " + d.data.key, "files excluding RBIs", sum_#{id});
    }
  JS
end