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
179 B
Ruby
14 lines
179 B
Ruby
class Space
|
|
def if_small( n )
|
|
if( n < 10)
|
|
return 10
|
|
else
|
|
"large".putstring
|
|
return 20
|
|
end
|
|
end
|
|
def main(arg)
|
|
return if_small( 12 )
|
|
end
|
|
end
|