module Mongoid::Atomic::Paths::Embedded
def path
- Since: - 2.1.0
Returns:
-
(String)- The path to the document.
Other tags:
- Example: Get the path. -
def path @path ||= position.sub(/\.\d+\z/, "") end
(String)
- The path to the document.
def path @path ||= position.sub(/\.\d+\z/, "") end