class AAMVA::SubfileDesignator
Attributes
length[R]
offset[R]
type[R]
Public Class Methods
new(type:, length:, offset:)
click to toggle source
# File lib/aamva/subfile_designator.rb, line 5 def initialize(type:, length:, offset:) @type = type @length = length @offset = offset end
Public Instance Methods
==(other)
click to toggle source
# File lib/aamva/subfile_designator.rb, line 11 def ==(other) type == other.type && offset == other.offset && length == other.length end