lib/choice/parser.rb
def arrayize_arguments(args)
      # Go through trailing arguments and suck them in if they don't seem
      # to have an owner.
      array = []
      until args.empty? || args.first.match(/^-/)
        array << args.shift
      end
      array
    end
def arrayize_arguments(args)
      # Go through trailing arguments and suck them in if they don't seem
      # to have an owner.
      array = []
      until args.empty? || args.first.match(/^-/)
        array << args.shift
      end
      array
    end
def arrayize_arguments ( args ) # Go through trailing arguments and suck them in if they don't seem # to have an owner. array = [ ] until args . empty? || args . first . match ( / / ) array << args . shift end array end
Turns trailing command line arguments into an array for an arrayed value
Turns trailing command line arguments into an array for an arrayed value