Class: OptparseLite::OptParser::UnparsedParamters
- Inherits:
-
Hash
- Object
- Hash
- OptparseLite::OptParser::UnparsedParamters
- Includes:
- HelpHelper, OptparseLite::OptHelper, Error
- Defined in:
- lib/optparse-lite.rb
Instance Attribute Summary
Attributes included from Error
Instance Method Summary collapse
-
#initialize ⇒ UnparsedParamters
constructor
A new instance of UnparsedParamters.
- #to_s ⇒ Object
Methods included from Error
[], #error_init, new
Methods included from OptparseLite::OptHelper
Methods included from HelpHelper
#cmd, #hdr, #help_requested?, #looks_like_header?, #prefix, #txt
Constructor Details
#initialize ⇒ UnparsedParamters
841 842 843 |
# File 'lib/optparse-lite.rb', line 841 def initialize @error_type = :unparsed_parameters end |
Instance Method Details
#to_s ⇒ Object
844 845 846 847 |
# File 'lib/optparse-lite.rb', line 844 def to_s "i don't recognize "<< Np.new(:this, 'parameter'){|| keys.map{|x| code(dashes(x)) }} end |