Class: Spreadshit::Formula::Range

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bottomObject

Returns the value of attribute bottom

Returns:

  • (Object)

    the current value of bottom



40
41
42
# File 'lib/spreadshit/formula.rb', line 40

def bottom
  @bottom
end

#topObject

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



40
41
42
# File 'lib/spreadshit/formula.rb', line 40

def top
  @top
end

Instance Method Details

#to_sObject



41
42
43
# File 'lib/spreadshit/formula.rb', line 41

def to_s
  [top.address, bottom.address].join(":")
end