Ruby/Development/exec

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск

execution is transferred to a different program, and the current program ceases immediately-the second line is never executed.

exec "ruby another_script.rb"
puts "This will never be displayed"