An XLSX document containing one or more worksheets.
Constructors
new(sheets : Array(Sheet))
Sourceopen(path : String) : self
Opens an XLSX document from a file path.
Sourceopen(io : IO) : self
Opens an XLSX document from an IO source.
SourceInstance methods
[](name : String) : Sheet
Returns the sheet with the given name.
Raises KeyError if not found.
Source[](index : Int32) : Sheet
Returns the sheet at the given 0-based index.
Sourceeach
Yields each sheet in document order.
Sourcesheet_names
Returns all sheet names in document order.
Sourcesize
Returns the number of sheets.
Source