Class: Rrxcell::Excelx::Book

Inherits:
Book
  • Object
show all
Defined in:
lib/rrxcell/excelx/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

#objectObject



5
6
7
# File 'lib/rrxcell/excelx/book.rb', line 5

def object
  @object ||= Roo::Excelx.new(path)
end

#sheet(position) ⇒ Object



9
10
11
# File 'lib/rrxcell/excelx/book.rb', line 9

def sheet(position)
  Rrxcell::Excelx::Sheet.new(self, position)
end