Class: Spreadshit::Window::Address

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#colObject

Returns the value of attribute col

Returns:

  • (Object)

    the current value of col



5
6
7
# File 'lib/spreadshit/window.rb', line 5

def col
  @col
end

#rowObject

Returns the value of attribute row

Returns:

  • (Object)

    the current value of row



5
6
7
# File 'lib/spreadshit/window.rb', line 5

def row
  @row
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/spreadshit/window.rb', line 6

def to_s
  [col, row].join
end

#to_symObject



10
11
12
# File 'lib/spreadshit/window.rb', line 10

def to_sym
  to_s.to_sym
end