summaryrefslogtreecommitdiff
path: root/lib/irb/cmd/measure.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/cmd/measure.rb')
-rw-r--r--lib/irb/cmd/measure.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/cmd/measure.rb b/lib/irb/cmd/measure.rb
index 244879c104..0806f84ed7 100644
--- a/lib/irb/cmd/measure.rb
+++ b/lib/irb/cmd/measure.rb
@@ -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