lib/imw/tools/summarizer.rb in imw-0.2.6 vs lib/imw/tools/summarizer.rb in imw-0.2.7
- old
+ new
@@ -42,10 +42,10 @@
#
# @return [Array<Hash>]
def summary
@summary ||= inputs.map do |input|
if input.respond_to?(:summary)
- input.summary
+ input.summary rescue {}
else
{}
end
end
end