Sha256: cf389fb7d903b1eced6f48881f38cdb3e48fdb0f5bbaa5a0a74da1ba13a657e3

Contents?: true

Size: 573 Bytes

Versions: 6

Compression:

Stored size: 573 Bytes

Contents

module Expressir
  module Model
    module References
      # Specified in ISO 10303-11:2004
      # - section 12.7.3 Attribute references
      class AttributeReference < Reference
        model_attr_accessor :ref, "Reference"
        model_attr_accessor :attribute, "Reference"

        # @param [Hash] options
        # @option options [Reference] :ref
        # @option options [Reference] :attribute
        def initialize(options = {})
          @ref = options[:ref]
          @attribute = options[:attribute]

          super
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
expressir-2.1.6 lib/expressir/model/references/attribute_reference.rb
expressir-2.1.5 lib/expressir/model/references/attribute_reference.rb
expressir-2.1.4 lib/expressir/model/references/attribute_reference.rb
expressir-2.1.3 lib/expressir/model/references/attribute_reference.rb
expressir-2.1.2 lib/expressir/model/references/attribute_reference.rb
expressir-2.1.1 lib/expressir/model/references/attribute_reference.rb