class Tetryst::Cell
- Tetryst::Cell
- Reference
- Object
Defined in:
tetryst/cell.crConstant Summary
-
INSET_COLOR =
LibRay::WHITE
-
INSET_SIZE =
2
Constructors
Instance Method Summary
- #color(*args, **options)
- #color(*args, **options, &)
- #draw(x, y, size)
- #empty?
- #empty?(*args, **options)
- #empty?(*args, **options, &)
- #shape : Shape
- #shape=(shape : Shape)
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>