Method: Connect::Dsl#reference_object

Defined in:
lib/connect/dsl.rb

#reference_object(type, name, xref = nil) ⇒ Object

Create an object reference.



274
275
276
277
278
# File 'lib/connect/dsl.rb', line 274

def reference_object(type, name, xref = nil)
  name = interpolated_value(name)
  object_reference(type, name, xref)
  Entry::ObjectReference.new(type, name, nil, xref)
end