Class: Spoom::Coverage::Cards::Timeline::RBIs

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

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



189
190
191
# File 'lib/spoom/coverage/report.rb', line 189

def initialize(snapshots:, title: "RBIs Timeline")
  super(title: title, timeline: D3::Timeline::RBIs.new("timeline_rbis", snapshots))
end