Sha256: 44e37ca68386ed6180874931f71264f424b84d2e2d54cf6213379bcaafa57fd5

Contents?: true

Size: 547 Bytes

Versions: 171

Compression:

Stored size: 547 Bytes

Contents

module Expressir
  module Model
    module DataTypes
      # Specified in ISO 10303-11:2004
      # - section 8.1.6 String data type
      class String < 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

171 entries across 171 versions & 1 rubygems

Version Path
expressir-2.1.0 lib/expressir/model/data_types/string.rb
expressir-2.0.0 lib/expressir/model/data_types/string.rb
expressir-1.4.2 lib/expressir/model/data_types/string.rb
expressir-1.4.2-x86_64-linux-musl lib/expressir/model/data_types/string.rb
expressir-1.4.2-x86_64-linux-gnu lib/expressir/model/data_types/string.rb
expressir-1.4.2-x86_64-darwin lib/expressir/model/data_types/string.rb
expressir-1.4.2-x64-mingw32 lib/expressir/model/data_types/string.rb
expressir-1.4.2-x64-mingw-ucrt lib/expressir/model/data_types/string.rb
expressir-1.4.2-arm64-darwin lib/expressir/model/data_types/string.rb
expressir-1.4.2-aarch64-linux-musl lib/expressir/model/data_types/string.rb
expressir-1.4.2-aarch64-linux-gnu lib/expressir/model/data_types/string.rb
expressir-1.4.1 lib/expressir/model/data_types/string.rb
expressir-1.4.1-x86_64-linux-musl lib/expressir/model/data_types/string.rb
expressir-1.4.1-x86_64-linux-gnu lib/expressir/model/data_types/string.rb
expressir-1.4.1-x86_64-darwin lib/expressir/model/data_types/string.rb
expressir-1.4.1-x64-mingw32 lib/expressir/model/data_types/string.rb
expressir-1.4.1-x64-mingw-ucrt lib/expressir/model/data_types/string.rb
expressir-1.4.1-arm64-darwin lib/expressir/model/data_types/string.rb
expressir-1.4.1-aarch64-linux-musl lib/expressir/model/data_types/string.rb
expressir-1.4.1-aarch64-linux-gnu lib/expressir/model/data_types/string.rb