Class: Spoom::Coverage::Cards::Card
- Extended by:
- T::Sig
- Defined in:
- lib/spoom/coverage/report.rb
Constant Summary collapse
- TEMPLATE =
T.let("#{Spoom::SPOOM_PATH}/templates/card.erb", String)
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(template: TEMPLATE, title: nil, body: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from Template
Constructor Details
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
95 96 97 |
# File 'lib/spoom/coverage/report.rb', line 95 def body @body end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
95 96 97 |
# File 'lib/spoom/coverage/report.rb', line 95 def title @title end |