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