diff --git a/lib/roo/excelx.rb b/lib/roo/excelx.rb index 91ebc1e0..8ea89c9a 100755 --- a/lib/roo/excelx.rb +++ b/lib/roo/excelx.rb @@ -154,7 +154,7 @@ def last_column(sheet = nil) def set(row, col, value, sheet = nil) #:nodoc: key = normalize(row, col) cell_type = cell_type_by_value(value) - sheet_for(sheet).cells[key] = Cell.new(value, cell_type, nil, cell_type, value, nil, nil, nil, Coordinate.new(row, col)) + sheet_for(sheet).cells[key] = Cell::Base.new(value, nil, nil, nil, nil, Coordinate.new(row, col)) end # Returns the formula at (row,col).