Skip to content

Commit b089fa7

Browse files
author
Colby Swandale
committed
cleanup
1 parent 5d93e8f commit b089fa7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/rubyapi_rdoc_generator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ def call_sequence_for_method_doc(doc)
153153
def format_method_source_body(method_doc)
154154
method_src = CGI.unescapeHTML(ActionView::Base.full_sanitizer.sanitize(method_doc.markup_code))
155155

156-
# if the method src is written in Ruby - instead of C, RDoc has already parsed it & turned it into HTML.
157156
lexer = begin
158157
if method_doc.token_stream&.any? { |t| t.class.to_s == "RDoc::Parser::RipperStateLex::Token" }
159158
Rouge::Lexers::Ruby.new

0 commit comments

Comments
 (0)