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



201
202
203
# File 'lib/canon/comparison/match_options.rb', line 201

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

.get_profile_options(profile) ⇒ Object



193
194
195
# File 'lib/canon/comparison/match_options.rb', line 193

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

.match_dimensionsObject



197
198
199
# File 'lib/canon/comparison/match_options.rb', line 197

def match_dimensions
  MatchOptions::YamlResolver.match_dimensions
end

.resolve(**kwargs) ⇒ Object



189
190
191
# File 'lib/canon/comparison/match_options.rb', line 189

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