Class: Rrxcell::Cell
- Inherits:
-
Object
- Object
- Rrxcell::Cell
- Defined in:
- lib/rrxcell/cell.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#row ⇒ Object
readonly
Returns the value of attribute row.
Instance Method Summary collapse
-
#initialize(row, position) ⇒ Cell
constructor
A new instance of Cell.
- #value ⇒ Object
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
#row ⇒ Object (readonly)
Returns the value of attribute row.
2 3 4 |
# File 'lib/rrxcell/cell.rb', line 2 def row @row end |
Instance Method Details
#value ⇒ Object
10 11 12 |
# File 'lib/rrxcell/cell.rb', line 10 def value raise ShouldBeImplementedError end |