Sha256: dc214f2a78f97d6f0a0088f1bf57677093a2a66abe5729abb97113f4b9f3452a

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

module AAMVA
  class SubfileDesignator
    attr_reader :type, :offset, :length

    def initialize(type:, length:, offset:)
      @type = type
      @length = length
      @offset = offset
    end

    def ==(other)
      type == other.type &&
        offset == other.offset &&
        length == other.length
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aamva-0.2.0 lib/aamva/subfile_designator.rb