mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Suppress "shadowing outer" warning
https://github.com/ruby/irb/commit/27b149c599
This commit is contained in:
parent
fbcdcbff0d
commit
0b14abe8e7
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ module IRB
|
|||
IRB.conf[:MEASURE] = nil
|
||||
IRB.unset_measure_callback(arg)
|
||||
when :list
|
||||
IRB.conf[:MEASURE_CALLBACKS].each do |type_name, _, arg|
|
||||
puts "- #{type_name}" + (arg ? "(#{arg.inspect})" : '')
|
||||
IRB.conf[:MEASURE_CALLBACKS].each do |type_name, _, arg_val|
|
||||
puts "- #{type_name}" + (arg_val ? "(#{arg_val.inspect})" : '')
|
||||
end
|
||||
when :on
|
||||
IRB.conf[:MEASURE] = true
|
||||
|
|
Loading…
Reference in a new issue