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 85a305e commit 7855dc6Copy full SHA for 7855dc6
lib/rdoc/parser/ruby.rb
@@ -1498,9 +1498,10 @@ def parse_symbol_in_arg
1498
##
1499
# Parses statements in the top-level +container+
1500
1501
- def parse_top_level_statements(container)
+ def parse_top_level_statements container
1502
comment = collect_first_comment
1503
- look_for_directives_in(container, comment)
+ look_for_directives_in container, comment
1504
+
1505
# HACK move if to RDoc::Context#comment=
1506
container.comment = comment if container.document_self unless comment.empty?
1507
parse_statements container, NORMAL, nil, comment
0 commit comments