We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d93e8f commit b089fa7Copy full SHA for b089fa7
lib/rubyapi_rdoc_generator.rb
@@ -153,7 +153,6 @@ def call_sequence_for_method_doc(doc)
153
def format_method_source_body(method_doc)
154
method_src = CGI.unescapeHTML(ActionView::Base.full_sanitizer.sanitize(method_doc.markup_code))
155
156
- # if the method src is written in Ruby - instead of C, RDoc has already parsed it & turned it into HTML.
157
lexer = begin
158
if method_doc.token_stream&.any? { |t| t.class.to_s == "RDoc::Parser::RipperStateLex::Token" }
159
Rouge::Lexers::Ruby.new
0 commit comments