Sha256: 6c7046c9bfc82f7fcdd9da7bf44b57f34ab0634ddacd2318c1ada13dfe9750fd

Contents?: true

Size: 637 Bytes

Versions: 3

Compression:

Stored size: 637 Bytes

Contents

require 'diecut/report-builder'

module Diecut
  module ReportBuilders
    class Exceptions < ReportBuilder
      def report_name
        "Exceptions raised during definition"
      end

      def report_fields
        ["Exception class", "message", "source line"]
      end

      def collect
      end

      def add(*args)
        report.add(*args)
      end

      def fail_summary
        "Exceptions were raised during the kind definition process"
      end

      def other_advice
        <<-EOA
        Exceptions were raised while defining plugins for generation. Those need to be fixed.
        EOA
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
diecut-0.0.5 lib/diecut/report-builders/exception-report.rb
diecut-0.0.4 lib/diecut/report-builders/exception-report.rb
diecut-0.0.3 lib/diecut/report-builders/exception-report.rb