Class: Excelerate::Worksheet::Cell

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/excelerate/worksheet.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Cell

Returns a new instance of Cell.



38
39
40
# File 'lib/excelerate/worksheet.rb', line 38

def initialize(options = {})
  __setobj__ options[:cell]
end

Instance Method Details

#valueObject Also known as: to_s



42
43
44
# File 'lib/excelerate/worksheet.rb', line 42

def value
  __getobj__.value.delete("\x00")
end