diff options
Diffstat (limited to 'sample/t2.rb')
-rw-r--r-- | sample/t2.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sample/t2.rb b/sample/t2.rb index 7f5b9df480..a34c171837 100644 --- a/sample/t2.rb +++ b/sample/t2.rb @@ -7,7 +7,7 @@ def println(*args) print(a) end print("\n") -end def +end def tt for i in 1..10 @@ -16,9 +16,8 @@ def tt end end -test = -do tt() using i +test = tt{i| if i == 3; break end println("ttt: ", i); -end +} #exit() |