Class: Ea::Svg::Parity::Suite
- Inherits:
-
Object
- Object
- Ea::Svg::Parity::Suite
- Defined in:
- lib/ea/svg/parity/suite.rb
Overview
Drives Parity::Checker across every diagram in a Document that has a matching reference SVG. Drives from any source the Document supports (qea or xmi) since the Document is format-agnostic.
Defined Under Namespace
Classes: DiagramReport, Report
Constant Summary collapse
- ELEMENT_TYPES =
%i[rect polygon path text].freeze
Instance Attribute Summary collapse
-
#document ⇒ Object
readonly
Returns the value of attribute document.
-
#ref_dir ⇒ Object
readonly
Returns the value of attribute ref_dir.
Instance Method Summary collapse
-
#initialize(document, ref_dir) ⇒ Suite
constructor
A new instance of Suite.
- #measure ⇒ Object
Constructor Details
#initialize(document, ref_dir) ⇒ Suite
Returns a new instance of Suite.
18 19 20 21 |
# File 'lib/ea/svg/parity/suite.rb', line 18 def initialize(document, ref_dir) @document = document @ref_dir = ref_dir end |
Instance Attribute Details
#document ⇒ Object (readonly)
Returns the value of attribute document.
16 17 18 |
# File 'lib/ea/svg/parity/suite.rb', line 16 def document @document end |
#ref_dir ⇒ Object (readonly)
Returns the value of attribute ref_dir.
16 17 18 |
# File 'lib/ea/svg/parity/suite.rb', line 16 def ref_dir @ref_dir end |