5b2c7745fe
previous commit made the mains tests more general this joins methods tests here so we can run them on arm too fix #11
14 lines
178 B
Ruby
14 lines
178 B
Ruby
class Space
|
|
def if_small( n )
|
|
if( n < 10)
|
|
"small".putstring
|
|
return 10
|
|
else
|
|
return 20
|
|
end
|
|
end
|
|
def main(arg)
|
|
return if_small( 8 )
|
|
end
|
|
end
|