Method: Axlsx::Styles#parse_alignment_options
- Defined in:
- lib/axlsx/stylesheet/styles.rb
#parse_alignment_options(options = {}) ⇒ CellAlignment
parses add_style options for alignment noop if options hash does not include :alignment key
304 305 306 307 308 |
# File 'lib/axlsx/stylesheet/styles.rb', line 304 def ( = {}) return unless [:alignment] CellAlignment.new [:alignment] end |