method
error
ruby latest stable - Class:
Options ::OptionList
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
error(msg)public
Show an error and exit
# File lib/rdoc/options.rb, line 263
def OptionList.error(msg)
$stderr.puts
$stderr.puts msg
$stderr.puts "\nFor help on options, try 'rdoc --help'\n\n"
exit 1
end