Sha256: 0554a7c951028204f151e84a6282784b9d49acccfa7446f29d48890380df0d2c

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

# -*- coding: utf-8 -*-

module TurnipFormatter
  class Step
    module Failure
      def attention?
        true
      end

      def attention(exception, backtrace)
        exception.set_backtrace(backtrace)
        docs[:source]    = backtrace.first
        docs[:exception] = exception
      end

      def status
        'failure'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
turnip_formatter-0.0.1 lib/turnip_formatter/step/failure.rb