Have you ever wanted to call exit() with an error condition, but weren't sure what number to use? No? Maybe it's just me, then. Anyway, I was reading W. Richard Stephens's book _Advanced Programming in the UNIX Environment_, and I wanted to make my program exit with a reasonable exit code just like his C examples, but much to my chagrin, I couldn't find a 'sysexits' for Ruby! Well, for the other 2 people that actually care about this kind of thing, now there is!

Required Ruby Version

None

Authors

Michael Granger

Versions

  1. 1.2.0
    1. source

      1. 1.2.0 source August 08, 2014 (16.5 KB)
  2. 1.1.0
    1. source

      1. 1.1.0 source September 18, 2012 (15 KB)
  3. 1.0.2
    1. source

      1. 1.0.2 source December 23, 2010 (14 KB)
  4. 1.0.1
    1. source

      1. 1.0.1 source October 14, 2010 (42 KB)
  5. 1.0.0
    1. source

      1. 1.0.0 source June 19, 2010 (38 KB)

SHA 256 checksum