Class: ReadXls::Workbook::Worksheet

Inherits:
Object
  • Object
show all
Defined in:
lib/read_xls/workbook/worksheet.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options)
  self.rows = options.fetch(:rows)
end

Instance Attribute Details

#rowsObject

Returns the value of attribute rows.



4
5
6
# File 'lib/read_xls/workbook/worksheet.rb', line 4

def rows
  @rows
end