Clever!
you can get of else '' and change when 1..3 then ROMAN[i]*digit to when 0..3 then ROMAN[i]*digit
else ''
when 1..3 then ROMAN[i]*digit
when 0..3 then ROMAN[i]*digit
This comment is hidden because it contains spoiler information about the solution
It would be better to have more hinted, what should be stored in instance variables. Tests are not full and everybody can think of different flow
the else branch is unreachable ;-)
Loading collection data...
Clever!
you can get of
else ''
and changewhen 1..3 then ROMAN[i]*digit
towhen 0..3 then ROMAN[i]*digit
This comment is hidden because it contains spoiler information about the solution
It would be better to have more hinted, what should be stored in instance variables. Tests are not full and everybody can think of different flow
the else branch is unreachable ;-)