Method: Worksheet#col_width

Defined in:
lib/surpass/worksheet.rb

#col_width(column_index) ⇒ Object



556
557
558
559
560
561
562
# File 'lib/surpass/worksheet.rb', line 556

def col_width(column_index)
  if cols.keys.include?(column_index)
    cols[column_index].width_in_pixels
  else
    64
  end
end