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

Inherits:
Timeline
  • Object
show all
Defined in:
lib/spoom/coverage/report.rb

Instance Method Summary collapse

Methods inherited from Timeline

#commits_for_dates, #months, #ticks

Constructor Details

#initialize(snapshots:, title: "Sorbet Typechecking Time") ⇒ Runtimes

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



203
204
205
# File 'lib/spoom/coverage/report.rb', line 203

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