lib/arql/ext/array.rb in arql-0.4.7 vs lib/arql/ext/array.rb in arql-0.4.8
- old
+ new
@@ -31,10 +31,9 @@
end
# if options[:compact]
# attrs = attrs.select { |e| any { |r| r.attributes[e.to_s]&.present? } }
# end
tbl = Arql::Table.new { |t|
- t.style = table_style_for_format(format)
t.headers = attrs
each do |e|
t.body << e.attributes.values_at(*attrs.map(&:to_s))
end
}