Sha256: 220dc764c43308817240deebc74b6183a772c52b7ed01f4e43d3677766c088ce
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
require "transformator/transformation/step" require_relative "../doc_transformation" class Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation:: SetLanguage < Transformator::Transformation::Step def call target.record.language = transformation.read_source_values(".//display/language", split: ";") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skala-1.1.0 | lib/skala/primo_adapter/search/result_transformation/doc_transformation/set_language.rb |