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
- #html ⇒ Object
-
#initialize ⇒ Erb
constructor
A new instance of Erb.
Methods inherited from Template
Constructor Details
#initialize ⇒ Erb
Returns a new instance of Erb.
99 |
# File 'lib/spoom/coverage/report.rb', line 99 def initialize; end |
Instance Method Details
#erb ⇒ Object
This method is abstract.
109 |
# File 'lib/spoom/coverage/report.rb', line 109 def erb = raise NotImplementedError, "Abstract method called" |
#html ⇒ Object
103 104 105 |
# File 'lib/spoom/coverage/report.rb', line 103 def html ERB.new(erb).result(get_binding) end |