Method: ToXls::Writer#initialize
- Defined in:
- lib/to_xls/writer.rb
#initialize(array, options = {}) ⇒ Writer
Returns a new instance of Writer.
8 9 10 11 12 13 |
# File 'lib/to_xls/writer.rb', line 8 def initialize(array, = {}) @array = array @options = @cell_format = create_format :cell_format @header_format = create_format :header_format end |