Method: Filemaker::Model::Relations::Proxy.init

Defined in:
lib/filemaker/model/relations/proxy.rb

.init(owner, name, options) ⇒ Object

Create will not return the proxy if target was NilClass



25
26
27
28
# File 'lib/filemaker/model/relations/proxy.rb', line 25

def self.init(owner, name, options)
  new_instance = new(owner, name, options)
  new_instance.target.nil? ? nil : new_instance
end