Class: Cell
- Inherits:
-
Object
- Object
- Cell
- Defined in:
- lib/sudoku_solver/cell.rb
Instance Attribute Summary collapse
-
#num ⇒ Object
Returns the value of attribute num.
Instance Method Summary collapse
-
#initialize(num) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
#initialize(num) ⇒ Cell
Returns a new instance of Cell.
3 4 5 |
# File 'lib/sudoku_solver/cell.rb', line 3 def initialize(num) @num = num end |
Instance Attribute Details
#num ⇒ Object
Returns the value of attribute num.
2 3 4 |
# File 'lib/sudoku_solver/cell.rb', line 2 def num @num end |