Skip to content

Commit af09363

Browse files
committed
Fix shadowed variable warning
1 parent 15e504e commit af09363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rdoc/parser/ruby.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,8 +1630,8 @@ def read_documentation_modifiers context, allow
16301630

16311631
return unless directive
16321632

1633-
@preprocess.handle_directive '', directive, value, context do |directive, param|
1634-
if %w[notnew not_new not-new].include? directive then
1633+
@preprocess.handle_directive '', directive, value, context do |dir, param|
1634+
if %w[notnew not_new not-new].include? dir then
16351635
context.dont_rename_initialize = true
16361636

16371637
true

0 commit comments

Comments
 (0)