class Lutaml::Model::KeyValueTransform
def extract_attr_value(path, key, value)
def extract_attr_value(path, key, value) case path when :key then key when :value then value else path = Array(path) value.dig(*path.map(&:to_s)) end end
def extract_attr_value(path, key, value) case path when :key then key when :value then value else path = Array(path) value.dig(*path.map(&:to_s)) end end