Class: Spreadsheet::Formula

Inherits:
Object
  • Object
show all
Defined in:
lib/spreadsheet/formula.rb

Overview

Formula implementation. At the moment this is just a placeholder. You may access the last calculated #value, other attributes are needed for writing the Formula back into modified Excel Files.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data.



7
8
9
# File 'lib/spreadsheet/formula.rb', line 7

def data
  @data
end

#sharedObject

Returns the value of attribute shared.



7
8
9
# File 'lib/spreadsheet/formula.rb', line 7

def shared
  @shared
end

#valueObject

Returns the value of attribute value.



7
8
9
# File 'lib/spreadsheet/formula.rb', line 7

def value
  @value
end