lib/table_fu.rb in table_fu-0.3.2 vs lib/table_fu.rb in table_fu-0.3.3
- old
+ new
@@ -279,10 +279,10 @@
ret = if macro_value
macro_value
elsif @spreadsheet.formatting && format_method = @spreadsheet.formatting[column_name]
TableFu::Formatting.send(format_method, @datum) || ''
else
- @datum || ''
+ @datum.to_s || ''
end
ret.force_encoding("UTF-8") if RUBY_VERSION > "1.9"
ret
end
\ No newline at end of file