module Mongoid::Atomic::Paths::Embedded

def path

Other tags:
    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