class FFWD::Core::Reporter

Public Class Methods

new(reporters) click to toggle source
# File lib/ffwd/core/reporter.rb, line 20
def initialize reporters
  @reporters = reporters
end

Public Instance Methods

report!(diff) { |d| ... } click to toggle source
# File lib/ffwd/core/reporter.rb, line 24
def report!(diff)
  @reporters.each do |reporter|
    reporter.report!(diff) do |d|
      yield d
    end
  end
end