# File lib/earthquake/output.rb, line 32 def puts_items(items) mark_color = config[:colors].sample + 10 [items].flatten.reverse_each do |item| next if output_filters.any? { |f| f.call(item) == false } if item["text"] && !item["_stream"] item['_mark'] = ' '.c(mark_color) + item['_mark'].to_s end outputs.each do |o| begin o[:block].call(item) rescue => e error e end end end end