Sha256: 569f589f1495ac39b7a1fac704b909d13e3d2c465f67da01a0fe0b13b4ab368e
Contents?: true
Size: 488 Bytes
Versions: 2
Compression:
Stored size: 488 Bytes
Contents
module LensProtocol module OMA module Type class R < Base def parse line, message label, values = label_and_values line side = message.context(:last_trcfmt_side) or raise ParsingError.new('Could not found a corresponding TRCFMT record', line) message.add_record_side_values(label, side, values.map(&:to_i)) end def format _record, _message [] # Formatted in Type::Trcfmt end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lens_protocol-0.1.1 | lib/lens_protocol/oma/type/r.rb |
lens_protocol-0.1.0 | lib/lens_protocol/oma/type/r.rb |