Method: RubyXL::WorksheetConvenienceMethods#get_column_alignment

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

#get_column_alignment(col, type) ⇒ Object

[View source]

438
439
440
441
442
443
# File 'lib/rubyXL/convenience_methods/worksheet.rb', line 438

def get_column_alignment(col, type)
  validate_workbook

  xf = @workbook.cell_xfs[get_cols_style_index(col)]
  xf.alignment && xf.alignment.send(type)
end