Module: Rbxl
- Defined in:
- lib/rbxl.rb,
lib/rbxl/row.rb,
lib/rbxl/cell.rb,
lib/rbxl/errors.rb,
lib/rbxl/version.rb,
lib/rbxl/empty_cell.rb,
lib/rbxl/read_only_cell.rb,
lib/rbxl/write_only_cell.rb,
lib/rbxl/read_only_workbook.rb,
lib/rbxl/read_only_worksheet.rb,
lib/rbxl/write_only_workbook.rb,
lib/rbxl/write_only_worksheet.rb,
ext/rbxl_native/native.c
Defined Under Namespace
Modules: Native
Classes: Cell, ClosedWorkbookError, EmptyCell, Error, ReadOnlyCell, ReadOnlyWorkbook, ReadOnlyWorksheet, Row, SheetNotFoundError, UnsizedWorksheetError, WorkbookAlreadySavedError, WriteOnlyCell, WriteOnlyWorkbook, WriteOnlyWorksheet
Constant Summary
collapse
- VERSION =
"1.0.1"
Class Method Summary
collapse
Class Method Details
.new(write_only: false) ⇒ Object
27
28
29
30
31
|
# File 'lib/rbxl.rb', line 27
def new(write_only: false)
raise ArgumentError, "write_only: true is required for this MVP" unless write_only
WriteOnlyWorkbook.new
end
|
.open(path, read_only: false) ⇒ Object
21
22
23
24
25
|
# File 'lib/rbxl.rb', line 21
def open(path, read_only: false)
raise ArgumentError, "read_only: true is required for this MVP" unless read_only
ReadOnlyWorkbook.open(path)
end
|