Method: RubyXL::WorksheetConvenienceMethods#get_cols_style_index

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

#get_cols_style_index(column_index) ⇒ Object



315
316
317
318
319
# File 'lib/rubyXL/convenience_methods/worksheet.rb', line 315

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