Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::StreamUI#terminate_interaction

terminate_interaction(status = 0)

Terminate the application with exit code status, running any exit handlers that might have been defined.

See also #say #tty? #require_io_console also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1