lib/bmg/writer.rb in bmg-0.19.3 vs lib/bmg/writer.rb in bmg-0.20.0

- old
+ new

@@ -10,19 +10,8 @@ from.keys end attrlist ? output_preferences.order_attrlist(attrlist) : nil end - def each_tuple(relation, &bl) - if ordering = output_preferences.tuple_ordering - relation - .to_a - .sort{|t1,t2| ordering.compare_attrs(t1, t2) } - .each_with_index(&bl) - else - relation.each_with_index(&bl) - end - end - end # module Writer end # module Bmg require_relative 'writer/csv'