Class: Rrxcell::Excel::Cell
Instance Attribute Summary
Attributes inherited from Cell
Instance Method Summary collapse
Methods inherited from Cell
#book, #initialize, #object, #sheet
Constructor Details
This class inherits a constructor from Rrxcell::Cell
Instance Method Details
#type ⇒ Object
5 6 7 |
# File 'lib/rrxcell/excel/cell.rb', line 5 def type book.object.celltype(row.position + 1 , position + 1, sheet.position) end |
#value ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/rrxcell/excel/cell.rb', line 9 def value case type when :time value_as_time else raw_value end end |