Module: Canon::Comparison::MatchOptions::Xml
- Defined in:
- lib/canon/comparison/match_options.rb
Overview
XML/HTML-specific matching options
Constant Summary collapse
- MATCH_DIMENSIONS =
Single source of truth: derived from the DimensionSet in Registry.
Dimensions::Registry.for(:xml).names.freeze
- FORMAT_DEFAULTS =
Expose FORMAT_DEFAULTS from XmlResolver (for backward compatibility)
MatchOptions::XmlResolver.const_get(:FORMAT_DEFAULTS)
- MATCH_PROFILES =
Expose MATCH_PROFILES from XmlResolver (for backward compatibility)
MatchOptions::XmlResolver.const_get(:MATCH_PROFILES)
Class Method Summary collapse
- .format_defaults(format) ⇒ Object
- .get_profile_options(profile) ⇒ Object
- .match_dimensions ⇒ Object
- .resolve(**kwargs) ⇒ Object
Class Method Details
.format_defaults(format) ⇒ Object
147 148 149 |
# File 'lib/canon/comparison/match_options.rb', line 147 def format_defaults(format) MatchOptions::XmlResolver.format_defaults(format) end |
.get_profile_options(profile) ⇒ Object
139 140 141 |
# File 'lib/canon/comparison/match_options.rb', line 139 def (profile) MatchOptions::XmlResolver.(profile) end |
.match_dimensions ⇒ Object
143 144 145 |
# File 'lib/canon/comparison/match_options.rb', line 143 def match_dimensions MatchOptions::XmlResolver.match_dimensions end |
.resolve(**kwargs) ⇒ Object
135 136 137 |
# File 'lib/canon/comparison/match_options.rb', line 135 def resolve(**kwargs) MatchOptions::XmlResolver.resolve(**kwargs) end |