Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
just return the ruby object of node if one exists
the fix in the previous commit is overly complicated. the if conditional originaly tested whether the passed document has a ruby object in '_private' which is unnecessary since we return the node's ruby object if one exists. This commit moves the conditional to the beginning of the function and simplifies it.a new object will be created and attach to the document, otherwise.
- Loading branch information