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

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

Overview

Deprecated: use Roo::Excelx::Coordinate instead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row, column) ⇒ Coordinate

Returns a new instance of Coordinate.



63
64
65
66
# File 'lib/roo/excelx/cell.rb', line 63

def initialize(row, column)
  warn '[DEPRECATION] `Roo::Excel::Cell::Coordinate` is deprecated.  Please use `Roo::Excelx::Coordinate` instead.'
  @row, @column = row, column
end

Instance Attribute Details

#columnObject

Returns the value of attribute column.



61
62
63
# File 'lib/roo/excelx/cell.rb', line 61

def column
  @column
end

#rowObject

Returns the value of attribute row.



61
62
63
# File 'lib/roo/excelx/cell.rb', line 61

def row
  @row
end