Method: Roo::Excelx#excelx_type

Defined in:
lib/roo/excelx.rb

#excelx_type(row, col, sheet = nil) ⇒ Object

returns the internal type of an excel cell

  • :numeric_or_formula

  • :string

Note: this is only available within the Excelx class



206
207
208
209
# File 'lib/roo/excelx.rb', line 206

def excelx_type(row, col, sheet = nil)
  key = normalize(row, col)
  safe_send(sheet_for(sheet).cells[key], :cell_type)
end