Class: Exwiw::Adapter::MongodbAdapter::EmbeddedMask

Inherits:
Struct
  • Object
show all
Defined in:
lib/exwiw/adapter/mongodb_adapter.rb

Overview

A pre-resolved embedded-child mask: the parent path split once into ‘prefix` (the containers to descend into) and `last` (the field holding the subdocument(s)), plus the child’s own MaskPlan.

Instance Attribute Summary collapse

Instance Attribute Details

#lastObject

Returns the value of attribute last

Returns:

  • (Object)

    the current value of last



404
405
406
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 404

def last
  @last
end

#planObject

Returns the value of attribute plan

Returns:

  • (Object)

    the current value of plan



404
405
406
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 404

def plan
  @plan
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



404
405
406
# File 'lib/exwiw/adapter/mongodb_adapter.rb', line 404

def prefix
  @prefix
end