Sha256: 87074047fee3ca71d9d7530204c111f7ae4ea3448f641089a0b7c5b89f8333cf

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

module Staccato
  # Exception Hit type field definitions
  # @author Tony Pitale
  class Exception
    # Exception field definitions
    FIELDS = {
      description: 'exd',
      fatal: 'exf'
    }

    include Hit

    # exception hit type
    def type
      :exception
    end

    def boolean_fields
      super << :fatal
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
staccato-0.1.1 lib/staccato/exception.rb
staccato-0.1.0 lib/staccato/exception.rb