WIP: feature/1-add-support-for-fs-crud #47

Draft
glenux wants to merge 53 commits from feature/1-add-support-for-fs-crud into develop
Showing only changes of commit 1f5a2f33ec - Show all commits

fix: follow the crystal way for to_s

Glenn Y. Rolland 2024-01-24 00:28:46 +01:00

View file

@ -4,12 +4,12 @@ module GX::Utils
@ancestors = base
end
def +(elem : String)
b = BreadCrumbs.new(@ancestors + [elem])
def +(other : String)
BreadCrumbs.new(@ancestors + [other])
end
def to_s
@ancestors.join(" ")
def to_s(io : IO)
io << @ancestors.join(" ")
end
def to_a