Method: Roo::Excelx::Cell::Number#initialize
- Defined in:
- lib/roo/excelx/cell/number.rb
#initialize(value, formula, excelx_type, style, link, coordinate) ⇒ Number
Returns a new instance of Number.
12 13 14 15 16 17 |
# File 'lib/roo/excelx/cell/number.rb', line 12 def initialize(value, formula, excelx_type, style, link, coordinate) super # FIXME: Excelx_type is an array, but the first value isn't used. @format = excelx_type.last @value = link ? Roo::Link.new(link, value) : create_numeric(value) end |