lib/text_filters.rb
# Process the text with using the specified context
Process the text with using the specified context
Process the text with using the specified context
def process_text(text, context, processor=nil)
    case (processor || TextFilters.default_processor)
    when :erb then process_with_erb(text, context)
    when :liquid then process_with_liquid(text, context)
    else raise "Unknown Text Processor '#{processor.to_s}'"
    end
  end
def process_text ( text , context , processor = nil ) case ( processor || TextFilters . default_processor ) when :erb then process_with_erb ( text , context ) when :liquid then process_with_liquid ( text , context ) else raise "Unknown Text Processor '#{processor.to_s}'" end end
Process the text with using the specified context
Process the text with using the specified context
text
<not_specific>
context
<not_specific>
processor
<not_specific>