Sha256: 466d762a1e492d0c0422b9e3185d3159cbf6320b25db0ca949f2ec707fa8ab00
Contents?: true
Size: 751 Bytes
Versions: 171
Compression:
Stored size: 751 Bytes
Contents
module Expressir module Model module DataTypes # Specified in ISO 10303-11:2004 # - section 8.4.1 Enumeration data type class Enumeration < DataType model_attr_accessor :extensible, '::Boolean' model_attr_accessor :based_on, 'Reference' model_attr_accessor :items, '::Array<EnumerationItem>' # @param [Hash] options # @option options [::Boolean] :extensible # @option options [Reference] :based_on # @option options [::Array<EnumerationItem>] :items def initialize(options = {}) @extensible = options[:extensible] @based_on = options[:based_on] @items = options[:items] || [] super end end end end end
Version data entries
171 entries across 171 versions & 1 rubygems