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
178 179 180 |
# File 'lib/canon/comparison/match_options.rb', line 178 def format_defaults(format) MatchOptions::XmlResolver.format_defaults(format) end |
.get_profile_options(profile) ⇒ Object
170 171 172 |
# File 'lib/canon/comparison/match_options.rb', line 170 def (profile) MatchOptions::XmlResolver.(profile) end |
.match_dimensions ⇒ Object
174 175 176 |
# File 'lib/canon/comparison/match_options.rb', line 174 def match_dimensions MatchOptions::XmlResolver.match_dimensions end |
.resolve(**kwargs) ⇒ Object
166 167 168 |
# File 'lib/canon/comparison/match_options.rb', line 166 def resolve(**kwargs) MatchOptions::XmlResolver.resolve(**kwargs) end |