Method: Workbook::Cell#initialize
- Defined in:
- lib/workbook/cell.rb
#initialize(value = nil, options = {}) ⇒ Cell
Returns a new instance of Cell.
13 14 15 16 17 18 |
# File 'lib/workbook/cell.rb', line 13 def initialize value=nil, ={} self.format = [:format] if [:format] self.row = [:row] self.value = value @to_sym = nil end |