mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Rubocop-inspired style tweaks
This commit is contained in:
@@ -431,7 +431,7 @@ class VoltorbFlip
|
||||
# Create and split a string for the number, with padded 0s
|
||||
zeroes=2-num.to_s.length
|
||||
numText=""
|
||||
for j in 0...zeroes
|
||||
zeroes.times do
|
||||
numText+="0"
|
||||
end
|
||||
numText+=num.to_s
|
||||
@@ -449,7 +449,7 @@ class VoltorbFlip
|
||||
# Create and split a string for the number, with padded 0s
|
||||
zeroes=2-num.to_s.length
|
||||
numText=""
|
||||
for j in 0...zeroes
|
||||
zeroes.times do
|
||||
numText+="0"
|
||||
end
|
||||
numText+=num.to_s
|
||||
@@ -466,7 +466,7 @@ class VoltorbFlip
|
||||
def pbCreateCoins(source,y)
|
||||
zeroes=5-source.to_s.length
|
||||
coinText=""
|
||||
for i in 0...zeroes
|
||||
zeroes.times do
|
||||
coinText+="0"
|
||||
end
|
||||
coinText+=source.to_s
|
||||
|
||||
Reference in New Issue
Block a user