Class: Sys
- Inherits:
- 
      Object
      
        - Object
- Sys
 
- Defined in:
- util/sys.rb
Overview
System is used to exit among other things.
Class Method Summary collapse
- 
  
    
      .exit_p(status)  ⇒ NilClass 
    
    
  
  
  
  
  
  
  
  
  
    Exits the program with a certain status. 
Class Method Details
.exit_p(status) ⇒ NilClass
Exits the program with a certain status.
| 14 15 16 17 18 19 20 | # File 'util/sys.rb', line 14 def self.exit_p(status) begin exit status rescue SystemExit p 'exiting' end end |