Class: ReadXls::Workbook::Worksheet
- Inherits:
-
Object
- Object
- ReadXls::Workbook::Worksheet
- Defined in:
- lib/read_xls/workbook/worksheet.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(options) ⇒ Worksheet
constructor
A new instance of Worksheet.
Constructor Details
#initialize(options) ⇒ Worksheet
Returns a new instance of Worksheet.
6 7 8 |
# File 'lib/read_xls/workbook/worksheet.rb', line 6 def initialize() self.rows = .fetch(:rows) end |
Instance Attribute Details
#rows ⇒ Object
Returns the value of attribute rows.
4 5 6 |
# File 'lib/read_xls/workbook/worksheet.rb', line 4 def rows @rows end |