rubyx/test/mains/source/while__0.rb
Torsten Ruger 5b2c7745fe move the methods test to mains
previous commit made the mains tests more general
this joins methods tests here
so we can run them on arm too
fix #11
2018-08-18 20:06:15 +03:00

10 lines
106 B
Ruby

class Space
def main(arg)
b = 10
while( b >= 1 )
b = b - 1
end
return b
end
end