Class: Xlsxtream::Worksheet
- Inherits:
-
Object
- Object
- Xlsxtream::Worksheet
- Defined in:
- lib/xlsxtream/worksheet.rb
Instance Method Summary collapse
- #<<(row) ⇒ Object (also: #add_row)
- #close ⇒ Object
-
#initialize(io, options = {}) ⇒ Worksheet
constructor
A new instance of Worksheet.
Constructor Details
#initialize(io, options = {}) ⇒ Worksheet
Returns a new instance of Worksheet.
7 8 9 10 11 12 13 |
# File 'lib/xlsxtream/worksheet.rb', line 7 def initialize(io, = {}) @io = io @rownum = 1 @options = write_header end |