Class: Roo::Excelx::Coordinate
- Inherits:
-
Object
- Object
- Roo::Excelx::Coordinate
- Defined in:
- lib/roo/excelx/coordinate.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#row ⇒ Object
Returns the value of attribute row.
Instance Method Summary collapse
-
#initialize(row, column) ⇒ Coordinate
constructor
A new instance of Coordinate.
Constructor Details
#initialize(row, column) ⇒ Coordinate
Returns a new instance of Coordinate.
6 7 8 9 |
# File 'lib/roo/excelx/coordinate.rb', line 6 def initialize(row, column) @row = row @column = column end |
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
4 5 6 |
# File 'lib/roo/excelx/coordinate.rb', line 4 def column @column end |
#row ⇒ Object
Returns the value of attribute row.
4 5 6 |
# File 'lib/roo/excelx/coordinate.rb', line 4 def row @row end |