Method: Axlsx::CellAlignment#initialize

Defined in:
lib/axlsx/stylesheet/cell_alignment.rb

#initialize(options = {}) ⇒ CellAlignment

Create a new cell_alignment object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • horizontal (Symbol)
  • vertical (Symbol)
  • text_rotation (Integer)
  • wrap_text (Boolean)
  • indent (Integer)
  • relative_indent (Integer)
  • justify_last_line (Boolean)
  • shrink_to_fit (Boolean)
  • reading_order (Integer)


25
26
27
# File 'lib/axlsx/stylesheet/cell_alignment.rb', line 25

def initialize(options={})
  parse_options options
end