Module: LogStash::Program
- Included in:
- Runner
- Defined in:
- lib/logstash/program.rb
Instance Method Summary collapse
Instance Method Details
#exit(value) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/logstash/program.rb', line 7 def exit(value) if RUBY_ENGINE == "jruby" # Kernel::exit() in jruby just tosses an exception? Let's actually exit. Java::java.lang.System.exit(value) else Kernel::exit(value) end end |