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.



67
68
69
70
# File 'lib/roo/excelx/cell.rb', line 67

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.



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

def column
  @column
end

#rowObject

Returns the value of attribute row.



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

def row
  @row
end