Sha256: 0c0ffc2c902ff0e63e1d1dcb737afecea78d36e3c63ecfc4dfcb6ce000c7787d

Contents?: true

Size: 463 Bytes

Versions: 21

Compression:

Stored size: 463 Bytes

Contents

module Expressir
  module Model
    module Types
      class Generic < ModelElement
        include Identifier

        def initialize(options = {})
          @id = options[:id]
          @remarks = options.fetch(:remarks, [])
          @remark_items = options.fetch(:remark_items, [])
          @source = options[:source]

          super
        end

        def children
          [
            *remark_items
          ]
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
expressir-0.2.24-arm64-darwin lib/expressir/model/types/generic.rb