Class: Spoom::Coverage::Cards::Map
- Extended by:
- T::Sig
- Defined in:
- lib/spoom/coverage/report.rb
Constant Summary
Constants inherited from Card
Instance Attribute Summary
Attributes inherited from Card
Instance Method Summary collapse
-
#initialize(file_tree:, nodes_strictnesses:, nodes_strictness_scores:, title: "Strictness Map") ⇒ Map
constructor
A new instance of Map.
Methods inherited from Template
Constructor Details
#initialize(file_tree:, nodes_strictnesses:, nodes_strictness_scores:, title: "Strictness Map") ⇒ Map
Returns a new instance of Map.
164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/spoom/coverage/report.rb', line 164 def initialize(file_tree:, nodes_strictnesses:, nodes_strictness_scores:, title: "Strictness Map") super( title: title, body: D3::CircleMap::Sigils.new( "map_sigils", file_tree, nodes_strictnesses, nodes_strictness_scores, ).html ) end |