# File lib/vendor/fssm/fssm/tree.rb, line 48 def unset(path) key = key_segments(path) if key.empty? remove_children return nil end segment = key.pop node = descendant(key) return unless node node.remove_child(segment) nil end