Class: Spoom::Coverage::Cards::Erb Abstract
- Defined in:
- lib/spoom/coverage/report.rb
Overview
This class is abstract.
Direct Known Subclasses
Constant Summary
Constants inherited from Card
Instance Attribute Summary
Attributes inherited from Card
Instance Method Summary collapse
-
#erb ⇒ Object
abstract
: -> String.
-
#html ⇒ Object
: -> String.
-
#initialize ⇒ Erb
constructor
: -> void.
Methods inherited from Template
Constructor Details
Instance Method Details
#erb ⇒ Object
This method is abstract.
: -> String
109 |
# File 'lib/spoom/coverage/report.rb', line 109 def erb = raise NotImplementedError, "Abstract method called" |
#html ⇒ Object
: -> String
103 104 105 |
# File 'lib/spoom/coverage/report.rb', line 103 def html ERB.new(erb).result(get_binding) end |