code: function (attr) {
              var value = typeof attr === 'string' && !! ~attr.indexOf('.') && this.__get(attr);
              if (value) {
                  return value;
              }
  
              // break up the attr (`"foo.bar"`) into `["foo","bar"]`
              var parts = attrParts(attr),
                  // get the value of the first attr name (`"foo"`)
                  current = this.__get(parts.shift());
              // if there are other attributes to read
              return parts.length ?
              // and current has a value
              current ?
              // lookup the remaining attrs on current
              current._get(parts) :
              // or if there's no current, return undefined
              undefined :
              // if there are no more parts, return current
              current;
          }
docs: Reads a property from the `object`.