Method: Roo::Excelx#font

Defined in:
lib/roo/excelx.rb

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

Given a cell, return the cell’s style



183
184
185
186
187
# File 'lib/roo/excelx.rb', line 183

def font(row, col, sheet = nil)
  key = normalize(row, col)
  definition_index = safe_send(sheet_for(sheet).cells[key], :style)
  styles.definitions[definition_index] if definition_index
end