Class: Spreadshit::Formula::Reference
- Inherits:
-
Struct
- Object
- Struct
- Spreadshit::Formula::Reference
- Defined in:
- lib/spreadshit/formula.rb
Instance Attribute Summary collapse
-
#col ⇒ Object
Returns the value of attribute col.
-
#row ⇒ Object
Returns the value of attribute row.
Instance Method Summary collapse
Instance Attribute Details
#col ⇒ Object
Returns the value of attribute col
30 31 32 |
# File 'lib/spreadshit/formula.rb', line 30 def col @col end |
#row ⇒ Object
Returns the value of attribute row
30 31 32 |
# File 'lib/spreadshit/formula.rb', line 30 def row @row end |
Instance Method Details
#address ⇒ Object
31 32 33 |
# File 'lib/spreadshit/formula.rb', line 31 def address [col, row].join end |
#to_s ⇒ Object
35 36 37 |
# File 'lib/spreadshit/formula.rb', line 35 def to_s address end |