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

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 get_profile_options(profile)
  MatchOptions::XmlResolver.get_profile_options(profile)
end

.match_dimensionsObject



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