# File lib/mongoid/relations/proxy.rb, line 79 def instantiated(type = nil) type ? type.new : metadata.klass.new end