lib/roo/csv.rb in roo-2.5.1 vs lib/roo/csv.rb in roo-2.6.0
- old
+ new
@@ -39,9 +39,17 @@
def csv_options
@options[:csv_options] || {}
end
+ def set_value(row, col, value, _sheet)
+ @cell[[row, col]] = value
+ end
+
+ def set_type(row, col, type, _sheet)
+ @cell_type[[row, col]] = type
+ end
+
private
TYPE_MAP = {
String => :string,
Float => :float,