# OptionParser::Switch::NoArgument (Class)

In: | optparse.rb
Parent: | self

## Methods

incompatible_argument_styles parse pattern

## Public Class methods

incompatible_argument_styles(*)

[Source]

    # File optparse.rb, line 429
          def self.incompatible_argument_styles(*)
          end

pattern()

[Source]

    # File optparse.rb, line 431
          def self.pattern
            Object
          end

## Public Instance methods

parse(arg, argv, &error) {|NeedlessArgument, arg| ...}

[Source]

    # File optparse.rb, line 425
          def parse(arg, argv, &error)
            yield(NeedlessArgument, arg) if arg
            conv_arg(arg)
          end

[Validate]