class OptionParser::Switch::NoArgument
Switch без аргументов.
Общедоступные методы класса
# File lib/optparse.rb, line 682 def self.incompatible_argument_styles(*) end
# File lib/optparse.rb, line 685 def self.pattern Object end
Общедоступные методы экземпляра
# File lib/optparse.rb, line 677 def parse(arg, argv) yield(NeedlessArgument, arg) if arg conv_arg(arg) end
Вызывает исключение, если переданы какие-либо аргументы.
Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.