Class: Spreadshit::Formula::Range
- Inherits:
-
Struct
- Object
- Struct
- Spreadshit::Formula::Range
- Defined in:
- lib/spreadshit/formula.rb
Instance Attribute Summary collapse
-
#bottom ⇒ Object
Returns the value of attribute bottom.
-
#top ⇒ Object
Returns the value of attribute top.
Instance Method Summary collapse
Instance Attribute Details
#bottom ⇒ Object
Returns the value of attribute bottom
40 41 42 |
# File 'lib/spreadshit/formula.rb', line 40 def bottom @bottom end |
#top ⇒ Object
Returns the value of attribute top
40 41 42 |
# File 'lib/spreadshit/formula.rb', line 40 def top @top end |
Instance Method Details
#to_s ⇒ Object
41 42 43 |
# File 'lib/spreadshit/formula.rb', line 41 def to_s [top.address, bottom.address].join(":") end |