Class: Spoom::Coverage::Cards::Timeline::Runtimes

Inherits:
Spoom::Coverage::Cards::Timeline show all
Extended by:
T::Sig
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: "Sorbet Typechecking Time") ⇒ Runtimes

Returns a new instance of Runtimes.


219
220
221
# File 'lib/spoom/coverage/report.rb', line 219

def initialize(snapshots:, title: "Sorbet Typechecking Time")
  super(title: title, timeline: D3::Timeline::Runtimes.new("timeline_runtimes", snapshots))
end