12 lines
209 B
Text
12 lines
209 B
Text
|
deftrait Addition, as: ->
|
||
|
typedoc """
|
||
|
This Trait defines addition and is used by the runtime everywhere it
|
||
|
encounters a `+` operator.
|
||
|
"""
|
||
|
|
||
|
doc """
|
||
|
Add other to self.
|
||
|
"""
|
||
|
def add other: Any
|
||
|
end
|