Class: Connect::Entry::ObjectReference
- Defined in:
- lib/connect/entries/object_reference.rb
Overview
A class representing a object entry in the values table.
Instance Attribute Summary collapse
-
#selector ⇒ Object
Returns the value of attribute selector.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(type, name, selector = nil, xref = nil) ⇒ ObjectReference
constructor
A new instance of ObjectReference.
-
#to_ext ⇒ Hash
Translate the object for external representation.
Methods inherited from Base
#add_reference, #final, #merge!
Constructor Details
#initialize(type, name, selector = nil, xref = nil) ⇒ ObjectReference
Returns a new instance of ObjectReference.
12 13 14 15 16 17 |
# File 'lib/connect/entries/object_reference.rb', line 12 def initialize(type, name, selector = nil, xref = nil) @type = type @name = name @selector = selector @xref = xref end |
Instance Attribute Details
#selector ⇒ Object
Returns the value of attribute selector.
10 11 12 |
# File 'lib/connect/entries/object_reference.rb', line 10 def selector @selector end |