Method: Glaemscribe::API::RxSubstitutePreProcessorOperator#apply
- Defined in:
- lib/api/pre_processor/rxsubstitute.rb
#apply(l) ⇒ Object
29 30 31 32 33 |
# 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 |