class Psych::Visitors::YAMLTree::Registrar

def id_for target

def id_for target
  @obj_to_id[target.object_id] ||= (@counter += 1)
end