# File lib/slim/translator.rb, line 63 def call(exp) @text, @captures = '', [] result = compile(exp) text = @translate.call(@text) while text =~ /%(\d+)/ result << [:static, $`] << @captures[$1.to_i - 1] text = $' end result << [:static, text] end
Generated with the Darkfish Rdoc Generator 2.