OptionParser::Switch::NoArgument (Class)

In: optparse.rb
Parent: self

Public Class methods

[Source]

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

[Source]

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

Public Instance methods

[Source]

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

[Validate]