mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix the trailing comma comment for builtin [ci skip]
so that it's clear why not args.last but args[1]
This commit is contained in:
parent
76a0e81f40
commit
b4546d26f2
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def collect_builtin base, tree, name, bs, inlines, locals = nil
|
||||||
mid = nil
|
mid = nil
|
||||||
end
|
end
|
||||||
# w/ trailing comma: [[:method_add_arg, ...]]
|
# w/ trailing comma: [[:method_add_arg, ...]]
|
||||||
# w/o trailing comma: [:args_add_block, [[:method_add_arg, ...]]]
|
# w/o trailing comma: [:args_add_block, [[:method_add_arg, ...]], false]
|
||||||
if args && args.first == :args_add_block
|
if args && args.first == :args_add_block
|
||||||
args = args[1]
|
args = args[1]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue