Class: Rbxl::EmptyCell

Inherits:
Object
  • Object
show all
Defined in:
lib/rbxl/empty_cell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#coordinateObject (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

#valueObject



9
10
11
# File 'lib/rbxl/empty_cell.rb', line 9

def value
  nil
end