# File lib/rabbit/parser/ext/coderay.rb, line 13 def highlight(lang, text, logger) tokens = ::CodeRay.scan(text.strip, lang.to_sym) tokens.encode(RabbitEncoder.new) end