class Glaemscribe::API::RxSubstitutePreProcessorOperator

Public Instance Methods

apply(l) click to toggle source
# File lib/api/pre_processor/rxsubstitute.rb, line 29
def apply(l)
  what = /#{finalized_glaeml_element.args[0]}/
  with = finalized_glaeml_element.args[1]
  l.gsub(what, with)
end