lib/csl/treelike.rb in csl-1.4.3 vs lib/csl/treelike.rb in csl-1.4.4
- old
+ new
@@ -25,10 +25,10 @@
enum_for :each_child
end
end
def delete_children(*nodes)
- nodes.each do |node|
+ nodes.flatten.each do |node|
delete_child node
end
end
alias delete delete_children