Class: Roo::Excelx::Cell::Coordinate

Inherits:
Object
  • Object
show all
Defined in:
lib/roo/excelx.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row, column) ⇒ Coordinate

Returns a new instance of Coordinate.



106
107
108
# File 'lib/roo/excelx.rb', line 106

def initialize(row, column)
  @row, @column = row, column
end

Instance Attribute Details

#columnObject

Returns the value of attribute column.



104
105
106
# File 'lib/roo/excelx.rb', line 104

def column
  @column
end

#rowObject

Returns the value of attribute row.



104
105
106
# File 'lib/roo/excelx.rb', line 104

def row
  @row
end