Class: Rrxcell::Excel::Book
- Inherits:
-
Book
- Object
- Book
- Rrxcell::Excel::Book
show all
- Defined in:
- lib/rrxcell/excel/book.rb
Instance Attribute Summary
Attributes inherited from Book
#path
Instance Method Summary
collapse
Methods inherited from Book
#[], #address, #initialize, #sheet_names, #sheets
Constructor Details
This class inherits a constructor from Rrxcell::Book
Instance Method Details
#object ⇒ Object
5
6
7
|
# File 'lib/rrxcell/excel/book.rb', line 5
def object
@object ||= Roo::Excel.new(path)
end
|
#sheet(sheet_position) ⇒ Object
9
10
11
|
# File 'lib/rrxcell/excel/book.rb', line 9
def sheet(sheet_position)
Rrxcell::Excel::Sheet.new(self, sheet_position)
end
|