Method: Axlsx::Workbook#styles

Defined in:
lib/axlsx/workbook/workbook.rb

#styles {|@styles| ... } ⇒ Styles

Note:

The recommended way to manage styles is Styles#add_style

The styles associated with this workbook

Yields:

Returns:

See Also:

  • Style#add_style
  • Style


66
67
68
69
# File 'lib/axlsx/workbook/workbook.rb', line 66

def styles
  yield @styles if block_given?
  @styles
end