Class: Roo::Excelx::Cell::Coordinate
- Inherits:
-
Object
- Object
- Roo::Excelx::Cell::Coordinate
- Defined in:
- lib/roo/excelx/cell.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.
35 36 37 |
# File 'lib/roo/excelx/cell.rb', line 35 def initialize(row, column) @row, @column = row, column end |
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
33 34 35 |
# File 'lib/roo/excelx/cell.rb', line 33 def column @column end |
#row ⇒ Object
Returns the value of attribute row.
33 34 35 |
# File 'lib/roo/excelx/cell.rb', line 33 def row @row end |