Class: Spoom::Coverage::Cards::Erb

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

Direct Known Subclasses

SorbetIntro

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

#get_binding

Constructor Details

#initializeErb

Returns a new instance of Erb.


112
# File 'lib/spoom/coverage/report.rb', line 112

def initialize; end

Instance Method Details

#erbObject


120
# File 'lib/spoom/coverage/report.rb', line 120

def erb; end

#htmlObject


115
116
117
# File 'lib/spoom/coverage/report.rb', line 115

def html
  ERB.new(erb).result(get_binding)
end