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


182
183
184
185
# File 'lib/axlsx/workbook/workbook.rb', line 182

def styles
  yield @styles if block_given?
  @styles
end