Get the path calculator for the supplied document.
Get the path calculator.
Proxy.path(document)
Parameters:
The document to calculate on.
Returns:
The root atomic path calculator.
Since:
2.1.0
217 218 219
# File 'lib/mongoid/relations/referenced/in.rb', line 217 def path(document) Mongoid::Atomic::Paths::Root.new(document) end