lib/ronin/cache/extension_cache.rb in ronin-0.1.0 vs lib/ronin/cache/extension_cache.rb in ronin-0.1.1
- old
+ new
@@ -36,12 +36,10 @@
super() do |hash,key|
hash[name] = load_extension(key.to_s)
end
catch('EXIT') do
- each_extension do |ext|
- ext.perform_teardown
- end
+ each_extension { |ext| ext.perform_teardown }
end
block.call(self) if block
end