class

Celestine::Point

Inherits Reference / Object

Constants

OPERATIONS = [:+, :-, :/, :*, :**, :&, :|, :^, :<<, :>>, :%]
ZERO = Celestine::Point.new(0, 0)

Constructors

new(x : Int32, y : Int32)
Source

Instance methods

to_s(io)
Source
x=(x : Int32)
Source
y=(y : Int32)
Source