Apparently that’s wrong:
cannot use ^h outside of match clauses
So I did the following instead and it worked:
h = unless h < base do
base - 1
else
h
end
Thanks
Apparently that’s wrong:
cannot use ^h outside of match clauses
So I did the following instead and it worked:
h = unless h < base do
base - 1
else
h
end
Thanks