lib/rbbt/tsv/manipulate.rb in rbbt-util-5.14.3 vs lib/rbbt/tsv/manipulate.rb in rbbt-util-5.14.4
- old
+ new
@@ -415,10 +415,10 @@
key = method.keys.first
method = method.values.first
case
when (Array === method and (key == :key or key_field == key))
with_unnamed do
- TSV.traverse(Annotated.purge(method).uniq, :bar => true){|key|
+ Annotated.purge(method).each{|key|
new[key] = self[key] if invert ^ (self.include? key)
}
end
when Array === method
with_unnamed do