Class: RubyXL::Writer::StylesWriter

Inherits:
GenericWriter show all
Defined in:
lib/rubyXL/writer/styles_writer.rb

Instance Method Summary collapse

Methods inherited from GenericWriter

#add_to_zip, #initialize, #render_xml, #write

Constructor Details

This class inherits a constructor from RubyXL::Writer::GenericWriter

Instance Method Details

#filepathObject



5
6
7
# File 'lib/rubyXL/writer/styles_writer.rb', line 5

def filepath
  File.join('xl', 'styles.xml')
end

#ooxml_objectObject



9
10
11
# File 'lib/rubyXL/writer/styles_writer.rb', line 9

def ooxml_object
  @workbook.stylesheet
end