Method: DRbQS::ServerDefinition#parse_option
- Defined in:
- lib/drbqs/server_define.rb
#parse_option(opt_argv) ⇒ Object
33 34 35 36 37 38 39 40 41 |
# File 'lib/drbqs/server_define.rb', line 33 def parse_option(opt_argv) if @option_parse OptionParser.new(HELP_MESSAGE) do |opt| @option_parse.call(opt, @opts) opt.parse!(opt_argv) end end @argv = opt_argv end |