# File lib/choice.rb, line 125 def args_of(opt) args_of_opt = [] # Return an array of the arguments between opt and the next option, # which all start with "-" @@args.slice(@@args.index(opt)+1, @@args.length).select do |arg| if arg[0].chr != "-" args_of_opt << arg else break end end args_of_opt end