Sha256: db6e172c5fd6dc2097a1e82f9eb54980f23e358af552e2066d7290aced1c9e2c
Contents?: true
Size: 787 Bytes
Versions: 11
Compression:
Stored size: 787 Bytes
Contents
require "time" module Eddy module Elements # ### Element Summary: # # - Id: I09 # - Name: Interchange Time # - Type: TM (HHMM) # - Min/Max: 4/4 # - Description: Time of the interchange # # ### Notes: # # - This element's value will be generated by `Eddy`. class I09 < Eddy::Models::Element::TM # @param val [Time] # @param req [String] (nil) # @param ref [String] (nil) # @return [void] def initialize(val:, req: nil, ref: nil) @id = "I09" @name = "Interchange Time" @description = "Time of the interchange" self.fmt = :hhmm super( min: 4, max: 4, req: req, ref: ref, val: val, ) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems