Class: Rrxcell::Cell

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

Direct Known Subclasses

Excel::Cell, Excelx::Cell

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row, position) ⇒ Cell

Returns a new instance of Cell.



4
5
6
7
8
# File 'lib/rrxcell/cell.rb', line 4

def initialize(row, position)
  super()
  @row = row
  @position = position
end

Instance Attribute Details

#rowObject (readonly)

Returns the value of attribute row.



2
3
4
# File 'lib/rrxcell/cell.rb', line 2

def row
  @row
end

Instance Method Details

#valueObject



10
11
12
# File 'lib/rrxcell/cell.rb', line 10

def value
  raise ShouldBeImplementedError
end