lib/dining-table/presenters/spreadsheet_presenter.rb in dining-table-0.1.0 vs lib/dining-table/presenters/spreadsheet_presenter.rb in dining-table-0.2.0
- old
+ new
@@ -17,10 +17,10 @@
add_row( header_strings )
end
def render_footer
footers = footer_strings
- if footers.map(&:blank?).uniq != [ true ]
+ if footers.map { |s| blank?(s) }.uniq != [ true ]
add_row( footers )
end
end
private
\ No newline at end of file