Method: RubyXL::WorksheetConvenienceMethods#get_col_style

Defined in:
lib/rubyXL/convenience_methods/worksheet.rb

#get_col_style(column_index) ⇒ Object

Helper method to get the style index for a column



389
390
391
392
# File 'lib/rubyXL/convenience_methods/worksheet.rb', line 389

def get_col_style(column_index)
  range = cols.locate_range(column_index)
  (range && range.style_index) || 0
end