lib/traject/macros/transformation.rb
# Run ruby `gsub` on each value in accumulator, with pattern and replace value given.
Run ruby `gsub` on each value in accumulator, with pattern and replace value given.
Run ruby ` gsub ` on each value in accumulator with pattern and replace value given .
def gsub(pattern, replace)
        lambda do |rec, acc|
          acc.collect! { |v| v.gsub(pattern, replace) }
        end
      end
def gsub ( pattern , replace ) lambda do | rec , acc | acc . collect! { | v | v . gsub ( pattern , replace ) } end end
Run ruby `gsub` on each value in accumulator, with pattern and replace value given.
Run ruby ` gsub ` on each value in accumulator with pattern and replace value given .
pattern
<not_specific>
replace
<not_specific>