Method: Spoom::Coverage::Cards::Snapshot#initialize

Defined in:
lib/spoom/coverage/report.rb

#initialize(snapshot:, title: "Snapshot") ⇒ Snapshot

Returns a new instance of Snapshot.



132
133
134
135
# File 'lib/spoom/coverage/report.rb', line 132

def initialize(snapshot:, title: "Snapshot")
  super(template: TEMPLATE, title: title)
  @snapshot = snapshot
end