Class: TemplateValidator
- Inherits:
-
Object
- Object
- TemplateValidator
- Defined in:
- lib/sf_symbol_converter/validators/template_validator.rb
Overview
given a template SVG, validate its structure and guidelines
Instance Method Summary collapse
Instance Method Details
#validate(template_svg) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/sf_symbol_converter/validators/template_validator.rb', line 5 def validate(template_svg) validate_required_sections(template_svg) validate_required_symbols(template_svg) validate_guidelines(template_svg) validate_margin_lines(template_svg) end |