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

Inherits:
Card show all
Extended by:
T::Sig
Defined in:
lib/spoom/coverage/report.rb

Direct Known Subclasses

Calls, RBIs, Runtimes, Sigils, Sigs, Versions

Defined Under Namespace

Classes: Calls, RBIs, Runtimes, Sigils, Sigs, Versions

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(title:, timeline:) ⇒ Timeline

Returns a new instance of Timeline.



181
182
183
# File 'lib/spoom/coverage/report.rb', line 181

def initialize(title:, timeline:)
  super(title: title, body: timeline.html)
end