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

Version Path
eddy-0.10.0 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.9.2 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.9.1 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.9.0 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.8.4 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.8.3 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.8.2 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.8.1 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.8.0 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.7.0 lib/definitions/elements/manual/i/I09.interchange_time.rb
eddy-0.6.0 lib/definitions/elements/manual/i/I09.interchange_time.rb