simplify i to_s
This commit is contained in:
parent
6137833140
commit
787f727974
@ -4,9 +4,7 @@ class Integer < Value
|
|||||||
if_plus( self - 9)
|
if_plus( self - 9)
|
||||||
return 32
|
return 32
|
||||||
else
|
else
|
||||||
Word numbers = "0123456789"
|
return 48 + self
|
||||||
int index = self + 1
|
|
||||||
return numbers.char_at(index)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user