Switch that takes no arguments.
      Class Methods
    
  
          
            3.2
          
          
            View on GitHub
            
          
        
        
          
            # File tmp/rubies/ruby-3.2.0/lib/optparse.rb, line 713
def self.incompatible_argument_styles(*)
end
          
        
      No documentation available
      
          
            .
          
          
        
      
          
            3.2
          
          
            View on GitHub
            
          
        
        
          
            # File tmp/rubies/ruby-3.2.0/lib/optparse.rb, line 716
def self.pattern
  Object
end
          
        
      No documentation available
      
      Instance Methods
    
  
          
            3.2
          
          
            View on GitHub
            
          
        
        
          
            # File tmp/rubies/ruby-3.2.0/lib/optparse.rb, line 708
def parse(arg, argv)
  yield(NeedlessArgument, arg) if arg
  conv_arg(arg)
end
          
        
      Raises an exception if any arguments given.