Sha256: f764afe74bae2ccd6ce2287a024610bf19a8012e8bb884e2e7c8e5e5cea23734
Contents?: true
Size: 779 Bytes
Versions: 4
Compression:
Stored size: 779 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::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
4 entries across 4 versions & 1 rubygems