Skip to content

Commit b02a7e9

Browse files
committed
Address RuboCop
1 parent 5a7754a commit b02a7e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/yard/parser/c/c_parser.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ def capture_directive_tags_hack
126126
temp = @statements.dup
127127
yield if block_given?
128128
stmts = (@statements - temp)
129-
stmts.select { |stmt|
129+
stmts.select do |stmt|
130130
stmt.is_a?(Comment) && stmt.source.start_with?('@!')
131-
}
131+
end
132132
end
133133

134134
def strip_non_statement_data

0 commit comments

Comments
 (0)