Class: Spreadshit::Window::Address
- Inherits:
-
Struct
- Object
- Struct
- Spreadshit::Window::Address
- Defined in:
- lib/spreadshit/window.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
5 6 7 |
# File 'lib/spreadshit/window.rb', line 5 def col @col end |
#row ⇒ Object
Returns the value of attribute row
5 6 7 |
# File 'lib/spreadshit/window.rb', line 5 def row @row end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/spreadshit/window.rb', line 6 def to_s [col, row].join end |
#to_sym ⇒ Object
10 11 12 |
# File 'lib/spreadshit/window.rb', line 10 def to_sym to_s.to_sym end |