Helper methods for syntax highlighting.
Highlights Ruby source @param [String] source the Ruby source code @return [String] the highlighted Ruby source
# File lib/yard/templates/helpers/html_syntax_highlight_helper.rb, line 9 def html_syntax_highlight_ruby(source) if Parser::SourceParser.parser_type == :ruby html_syntax_highlight_ruby_ripper(source) else html_syntax_highlight_ruby_legacy(source) end end
Generated with the Darkfish Rdoc Generator 2.