Sha256: eb1c2854939a03cc68a7ff309b64716c45195f5d54568ab264d6ae2edeb04eed

Contents?: true

Size: 694 Bytes

Versions: 10

Compression:

Stored size: 694 Bytes

Contents

module Expressir
  module Model
    module DataTypes
      # Specified in ISO 10303-11:2004
      # - section 8.2.3 Bag data type
      class Bag < DataType
        model_attr_accessor :bound1, "Expression"
        model_attr_accessor :bound2, "Expression"
        model_attr_accessor :base_type, "DataType"

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

          super
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
expressir-2.1.10 lib/expressir/model/data_types/bag.rb
expressir-2.1.9 lib/expressir/model/data_types/bag.rb
expressir-2.1.8 lib/expressir/model/data_types/bag.rb
expressir-2.1.7 lib/expressir/model/data_types/bag.rb
expressir-2.1.6 lib/expressir/model/data_types/bag.rb
expressir-2.1.5 lib/expressir/model/data_types/bag.rb
expressir-2.1.4 lib/expressir/model/data_types/bag.rb
expressir-2.1.3 lib/expressir/model/data_types/bag.rb
expressir-2.1.2 lib/expressir/model/data_types/bag.rb
expressir-2.1.1 lib/expressir/model/data_types/bag.rb