Ruby/Development/exec

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

(Различия между версиями)
Перейти к: навигация, поиск

Версия 17:10, 26 мая 2010

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"