Check for block here too

This commit is contained in:
Arfon Smith
2015-03-05 12:50:12 -06:00
parent 7fdead0100
commit 1bc1803628

View File

@@ -14,7 +14,7 @@ class << Linguist
if instrumenter
instrumenter.instrument(*args, &bk)
else
yield
yield if block_given?
end
end
end