lib/tr4n5l4te/translator.rb in tr4n5l4te-0.1.10 vs lib/tr4n5l4te/translator.rb in tr4n5l4te-0.1.12
- old
+ new
@@ -38,10 +38,10 @@
text
end
def postprocess(text)
@interpolations.each_with_index do |interp, ndx|
- stub = /VAR#{ndx}/
+ stub = /VAR#{ndx}/i
text.gsub!(stub, interp)
end
text
end