Exception: OptionParser::NeedlessArgument

Inherits:
ParseError
  • Object
show all
Defined in:
lib/optparse.rb

Overview

Raises when there is an argument for a switch which takes no argument.

Constant Summary

Constants inherited from ParseError

ParseError::Reason

Instance Attribute Summary

Attributes inherited from ParseError

#additional, #args, #reason

Method Summary

Methods inherited from ParseError

filter_backtrace, #initialize, #inspect, #message, #recover, #set_backtrace, #set_option

Constructor Details

This class inherits a constructor from OptionParser::ParseError