Sha256: 8375995a4dd4b310487cce63a66c5e5f4daab0c09411ce45de183e4f2139cf83

Contents?: true

Size: 548 Bytes

Versions: 10

Compression:

Stored size: 548 Bytes

Contents

module Expressir
  module Model
    module DataTypes
      # Specified in ISO 10303-11:2004
      # - section 8.1.7 Binary data type
      class Binary < DataType
        model_attr_accessor :width, "Expression"
        model_attr_accessor :fixed, "::Boolean"

        # @param [Hash] options
        # @option options [Expression] :width
        # @option options [::Boolean] :fixed
        def initialize(options = {})
          @width = options[:width]
          @fixed = options[:fixed]

          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/binary.rb
expressir-2.1.9 lib/expressir/model/data_types/binary.rb
expressir-2.1.8 lib/expressir/model/data_types/binary.rb
expressir-2.1.7 lib/expressir/model/data_types/binary.rb
expressir-2.1.6 lib/expressir/model/data_types/binary.rb
expressir-2.1.5 lib/expressir/model/data_types/binary.rb
expressir-2.1.4 lib/expressir/model/data_types/binary.rb
expressir-2.1.3 lib/expressir/model/data_types/binary.rb
expressir-2.1.2 lib/expressir/model/data_types/binary.rb
expressir-2.1.1 lib/expressir/model/data_types/binary.rb