Class: Rbxl::EmptyCell
- Inherits:
-
Object
- Object
- Rbxl::EmptyCell
- Defined in:
- lib/rbxl/empty_cell.rb
Instance Attribute Summary collapse
-
#coordinate ⇒ Object
readonly
Returns the value of attribute coordinate.
Instance Method Summary collapse
-
#initialize(coordinate:) ⇒ EmptyCell
constructor
A new instance of EmptyCell.
- #value ⇒ Object
Constructor Details
#initialize(coordinate:) ⇒ EmptyCell
Returns a new instance of EmptyCell.
5 6 7 |
# File 'lib/rbxl/empty_cell.rb', line 5 def initialize(coordinate:) @coordinate = coordinate end |
Instance Attribute Details
#coordinate ⇒ Object (readonly)
Returns the value of attribute coordinate.
3 4 5 |
# File 'lib/rbxl/empty_cell.rb', line 3 def coordinate @coordinate end |
Instance Method Details
#value ⇒ Object
9 10 11 |
# File 'lib/rbxl/empty_cell.rb', line 9 def value nil end |