Class: Spoom::Coverage::Cards::Timeline::Sigs

Inherits:
Spoom::Coverage::Cards::Timeline show all
Defined in:
lib/spoom/coverage/report.rb

Constant Summary

Constants inherited from Card

Card::TEMPLATE

Instance Attribute Summary

Attributes inherited from Card

#body, #title

Instance Method Summary collapse

Methods inherited from Template

#erb, #get_binding, #html

Constructor Details

#initialize(snapshots:, title: "Signatures Timeline") ⇒ Sigs

: (snapshots: Array, ?title: String) -> void



187
188
189
# File 'lib/spoom/coverage/report.rb', line 187

def initialize(snapshots:, title: "Signatures Timeline")
  super(title: title, timeline: D3::Timeline::Sigs.new("timeline_sigs", snapshots))
end