irb: Removed unused variables
This commit is contained in:
parent
4b6e3f7b82
commit
8680ae9cbd
@ -224,7 +224,6 @@ module TestIRB
|
||||
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
|
||||
time = Time.now
|
||||
result = block.()
|
||||
now = Time.now
|
||||
puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE]
|
||||
result
|
||||
}
|
||||
@ -258,7 +257,6 @@ module TestIRB
|
||||
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
|
||||
time = Time.now
|
||||
result = block.()
|
||||
now = Time.now
|
||||
puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE]
|
||||
result
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user