used proper 'if/elsif/end' syntax

This commit is contained in:
Syed Humza Shah
2015-12-18 01:24:05 +00:00
parent 10e0fa4360
commit 00a436f175

View File

@@ -13,8 +13,8 @@ class << Linguist
def instrument(*args, &bk)
if instrumenter
instrumenter.instrument(*args, &bk)
else
yield if block_given?
elsif block_given?
yield
end
end
end