Method: ALib::AbstractMain#die
- Defined in:
- lib/alib-0.5.1/main.rb
#die(opts = {}) ⇒ Object
–}}}
640 641 642 643 644 645 646 647 |
# File 'lib/alib-0.5.1/main.rb', line 640 def die opts = {} #--{{{ msg = Util::getopt 'msg', opts, klass.usage errno = Util::getopt 'errno', opts, EXIT_FAILURE STDERR.puts("#{ msg }") exit(Integer(errno)) #--}}} end |