module Psychgus::Ext::RegistrarExt
Extensions to Psych::Visitors::YAMLTree::Registrar.
@author Jonathan Bradley Whited @since 1.0.0
Public Instance Methods
remove_alias(target)
click to toggle source
Remove target
from this Registrar to prevent it becoming an alias.
@param target [Object] the Object to remove from this Registrar
# File lib/psychgus/ext/yaml_tree_ext.rb, line 28 def remove_alias(target) @obj_to_node.delete(target.object_id) end