Class: CIM::Reference

Inherits:
Property show all
Defined in:
lib/cim/reference.rb

Overview

Reference is a pointer (reference) to a Class

A Reference is a special type of Property reserved for use in Associations

Instance Attribute Summary

Attributes inherited from Property

#default

Attributes inherited from ClassFeature

#type

Attributes inherited from NamedElement

#name, #qualifiers

Instance Method Summary collapse

Methods inherited from Property

#initialize, #method_missing, #property?

Methods inherited from ClassFeature

#method?, #property?

Methods inherited from NamedElement

#<<, #include?, #initialize, #to_s

Constructor Details

This class inherits a constructor from CIM::Property

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CIM::Property

Instance Method Details

#reference?Boolean

Identifies a Property as a Reference

Returns:

  • (Boolean)


21
22
23
# File 'lib/cim/reference.rb', line 21

def reference?
  true
end