6 lines
90 B
Text
6 lines
90 B
Text
stack = []
|
|
stack.push 1
|
|
stack.push 2
|
|
stack.push 3
|
|
|
|
until { stack.empty? } { p stack.pop }
|