class Spoom::Coverage::D3::Pie::Sigs
def initialize(id, title, snapshot)
def initialize(id, title, snapshot) super(id, title, { true: snapshot.methods_with_sig, false: snapshot.methods_without_sig }) end
def tooltip
def tooltip <<~JS function tooltip_#{id}(d) { tooltipPie(d, (d.data.key == "true" ? " with" : " without") + " a signature", "methods", sum_#{id}) } JS end