Class: Spoom::Coverage::Cards::Timeline::Versions

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 Versions Timeline") ⇒ Versions

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



196
197
198
# File 'lib/spoom/coverage/report.rb', line 196

def initialize(snapshots:, title: "Sorbet Versions Timeline")
  super(title: title, timeline: D3::Timeline::Versions.new("timeline_versions", snapshots))
end