fix default Qty field

This commit is contained in:
Andy Meneely
2020-10-03 01:34:14 -04:00
parent 0d4c8b5de0
commit b4f3dbc5eb
2 changed files with 211 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ end
# from each value. This is the default behavior in Squib, but the options
# are here just to make sure.
resource_data = Squib.xlsx(file: 'sample.xlsx', sheet: 2, strip: true) do |header, value|
resource_data = Squib.xlsx(file: 'sample.xlsx', explode: 'Qty', sheet: 2, strip: true) do |header, value|
case header
when 'Cost'
"$#{value}k" # e.g. "3" becomes "$3k"