Module: Canon::Comparison::MatchOptions::Yaml

Defined in:
lib/canon/comparison/match_options.rb

Overview

YAML-specific matching options

Constant Summary collapse

MATCH_DIMENSIONS =
Dimensions::Registry.for(:yaml).names.freeze
FORMAT_DEFAULTS =
MatchOptions::YamlResolver.const_get(:FORMAT_DEFAULTS)
MATCH_PROFILES =
MatchOptions::YamlResolver.const_get(:MATCH_PROFILES)

Class Method Summary collapse

Class Method Details

.format_defaults(format) ⇒ Object



232
233
234
# File 'lib/canon/comparison/match_options.rb', line 232

def format_defaults(format)
  MatchOptions::YamlResolver.format_defaults(format)
end

.get_profile_options(profile) ⇒ Object



224
225
226
# File 'lib/canon/comparison/match_options.rb', line 224

def get_profile_options(profile)
  MatchOptions::YamlResolver.get_profile_options(profile)
end

.match_dimensionsObject



228
229
230
# File 'lib/canon/comparison/match_options.rb', line 228

def match_dimensions
  MatchOptions::YamlResolver.match_dimensions
end

.resolve(**kwargs) ⇒ Object



220
221
222
# File 'lib/canon/comparison/match_options.rb', line 220

def resolve(**kwargs)
  MatchOptions::YamlResolver.resolve(**kwargs)
end