lib/rbbt/tsv/manipulate.rb in rbbt-util-5.19.32 vs lib/rbbt/tsv/manipulate.rb in rbbt-util-5.19.34
- old
+ new
@@ -357,10 +357,10 @@
new.filename = filename
new.namespace = namespace
new.entity_options = entity_options
new.entity_templates = entity_templates
- case
+ case
when (method.nil? and block_given?)
through do |key, values|
new[key] = values if invert ^ (yield key, values)
end
when Array === method