Sha256: 7a78bb230583c6b32d8220afa2ea2751effc5160ff8997a05a8dad98ecdedac3

Contents?: true

Size: 827 Bytes

Versions: 171

Compression:

Stored size: 827 Bytes

Contents

module Expressir
  module Model
    module DataTypes
      # Specified in ISO 10303-11:2004
      # - section 8.2.2 List data type
      class List < DataType
        model_attr_accessor :bound1, 'Expression'
        model_attr_accessor :bound2, 'Expression'
        model_attr_accessor :unique, '::Boolean'
        model_attr_accessor :base_type, 'DataType'

        # @param [Hash] options
        # @option options [Expression] :bound1
        # @option options [Expression] :bound2
        # @option options [::Boolean] :unique
        # @option options [DataType] :base_type
        def initialize(options = {})
          @bound1 = options[:bound1]
          @bound2 = options[:bound2]
          @unique = options[:unique]
          @base_type = options[:base_type]

          super
        end
      end
    end
  end
end

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
expressir-1.2.0-x86-mingw32 lib/expressir/model/data_types/list.rb
expressir-1.2.0-x86-linux lib/expressir/model/data_types/list.rb
expressir-1.2.0-x64-mingw32 lib/expressir/model/data_types/list.rb
expressir-1.2.0-arm64-darwin lib/expressir/model/data_types/list.rb
expressir-1.1.0 lib/expressir/model/data_types/list.rb
expressir-1.1.0-x86_64-linux lib/expressir/model/data_types/list.rb
expressir-1.1.0-x86_64-darwin lib/expressir/model/data_types/list.rb
expressir-1.1.0-x86-mingw32 lib/expressir/model/data_types/list.rb
expressir-1.1.0-x86-linux lib/expressir/model/data_types/list.rb
expressir-1.1.0-x64-mingw32 lib/expressir/model/data_types/list.rb
expressir-1.1.0-arm64-darwin lib/expressir/model/data_types/list.rb