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



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

def col
  @col
end

#rowObject

Returns the value of attribute row

Returns:

  • (Object)

    the current value of row



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

def row
  @row
end

Instance Method Details

#to_sObject



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

def to_s
  [col, row].join
end

#to_symObject



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

def to_sym
  to_s.to_sym
end