WIP: feature/45-improve-tooling #46
1 changed files with 4 additions and 4 deletions
|
@ -4,12 +4,12 @@ module GX::Utils
|
||||||
@ancestors = base
|
@ancestors = base
|
||||||
end
|
end
|
||||||
|
|
||||||
def +(elem : String)
|
def +(other : String)
|
||||||
b = BreadCrumbs.new(@ancestors + [elem])
|
BreadCrumbs.new(@ancestors + [other])
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s
|
def to_s(io : IO)
|
||||||
@ancestors.join(" ")
|
io << @ancestors.join(" ")
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
|
|
Loading…
Reference in a new issue